lkajith Posted November 23, 2013 Report Share Posted November 23, 2013 Hi, I have added secondary Y-axis to a chart. How do I set Y=0 ,X axis based line same to the axis Y2. Simply I want to keep one X Axis for both Y axis. Thanks Ajith 1 Quote Link to comment Share on other sites More sharing options...
joseo Posted January 6, 2014 Report Share Posted January 6, 2014 Hello Ajith, In order to set a Secondary Y axis, please add thefollowing code: [C#] SeriesAttributes serie1 = chart1.Series[1]; serie1.AxisY = chart1.AxisY2; The code above will generate the following output: I hope this helps. Regards, 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.