User (Legacy) Posted December 15, 2003 Report Share Posted December 15, 2003 Hi, Can I have more then one Y-Axis ( except the default secondary Y-Axis) ?? If Yes Then How can I assigned them to Series ? The Scenario is , I have multiple series with different scale , I want to have a separate Y-Axis for each series.So I can scale them easily. In SeriesAttributes we have a property YAxis , which expect YAxis Object. The problem I am facing is I am not able to get a YAxis object from a simple Axis object ( set as Y axis ). Now I think problem is clear. Is there any way to achieve this? Thanks Rakesh Agilent technology International Link to comment Share on other sites More sharing options...
Software FX Posted December 15, 2003 Report Share Posted December 15, 2003 Yes. Simply use the Axis property as an Array and then assign the index to the series. For example: chart1.Series[i].YAxis = (YAxis) 3; then: chart1.Axis[3].Gridlines = true; Note: If you wan the newly created axis to be re-scaled according to the data in the assigned series, you must either assign the YAxis property BEFORE passing the data to the chart or call RecalcScale. -- FP Software FX, Inc. Link to comment Share on other sites More sharing options...
User (Legacy) Posted December 16, 2003 Author Report Share Posted December 16, 2003 Hi, How many Y Axis we can have in a single graph? Is there any limitation like can have only 100 Y Axis or any fixed number ? Because in our scenario user can add near about 1000 series in a single graph. Thanks Rakesh Link to comment Share on other sites More sharing options...
Software FX Posted December 16, 2003 Report Share Posted December 16, 2003 There is no limit, however, 100 axis will probably take all the space on the screen just to display the labels. So although there is no "technical" limit, there is definitely a practical one. -- FP Software FX, Inc. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.