Group: Forum Members
Last Active: 11 Years Ago
Posts: 9,
Visits: 1
|
Hi, im trying to set the view range for my axes dinamically but I cant do it =( I need to change this variable (NAxis referenceAxis = chart.Axis(StandardAxis.Depth).ViewRange.Begin/End), how I should do it ?
By the chart options I can make it doing Options -> Cartesian Chart -> Axes -> Standard Axis - Depth -> General -> View -> Range -> (Set range), but I need to do it dinamically
Thank you
Andre
|
Group: Forum Members
Last Active: Last Week
Posts: 3,054,
Visits: 4,009
|
Hi Andre, Try the following code: chart1.Axis( StandardAxis.Depth).View = new NRangeAxisView(new NRange1DD(0, 10), true, true);this will set the view range of the depth to 0, 10 - let us know if you meet any problems.
Best Regards, Nevron Support Team
|
Group: Forum Members
Last Active: 11 Years Ago
Posts: 9,
Visits: 1
|
That's Perfect! Thank you
|