divyesh29 Posted March 19, 2009 Report Share Posted March 19, 2009 Hi, i am creating dynamic chart using ChartFX - 7. i want to plot a data series on Y2 Axis( i.e. Secondary Axis). i am geting chart.Series[index].AxisY, but how to make it secondary axis?? pls, reply as soon as possible. Thanks, Regards, Divyesh Maniyar Mcube. Quote Link to comment Share on other sites More sharing options...
rkw6086 Posted March 19, 2009 Report Share Posted March 19, 2009 This should give you an idea of how to go about doing it. :-D AxisY tempAxis = new AxisY(); tempAxis.Min = 0; //highestValue is my array of the highestValues recorded on the series tempAxis.Max = Math.Round(highestValues[series.Text]); tempAxis.TextColor = series.Color; tempAxis.Position = AxisPosition.Near; tempAxis.Title.Text = config.OwnAxisTitle; tempAxis.Max = tempAxis.Max + tempAxis.Step; series.AxisY = tempAxis; chartToConfigure.AxesY.Add(tempAxis); Fast enough? I hope this helps you out. Quote Link to comment Share on other sites More sharing options...
divyesh29 Posted March 19, 2009 Author Report Share Posted March 19, 2009 Hi, Thanks for quick reply, i will try out your suggetion. Thanks, Regards, Divyesh Maniyar Mcube Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.