get horizontal axis min and max values

Dec 27, 2013 at 5:24 AM
Hi,

I want to access the minimum and maximum values of the horizontal and vertical axes currently on display in the chartplotter. Is there any way to achieve that? I have come across some threads on setting/writing those values using viewport2D, but none mentioned about retrieving the axes values currently on display. Anyone can help?

Thank you!
Dec 28, 2013 at 3:10 AM
Ok, I figured it out. Happened to be too simple. :)

var v = plotter.Visible;
int X_left = Convert.ToInt32(v.Left);
int X_right = Convert.ToInt32(v.Right);
Marked as answer by arunshankar20003 on 12/27/2013 at 7:10 PM