Group: Forum Members
Last Active: 13 Years Ago
Posts: 1,
Visits: 1
|
I have two axes (X and Y) and one line series plotted with respect to those axes, now how can I make both X and Y axes have the same minimum, maximum and intervals?. For example, consider while plotting a line series your code returns a range [0-1000] for X-Axis [Say major tick mark interval = 100] and a Range [0-700] for Y-Axis [Say major tick mark interval = 50] . But before plotting your default range I want to write a code which picks up the maximum range (in this case [0-1000]) at run time and plot both X and Y axis with that same range and same interval (say 50 or 100 but both axis should have the same). PS: I know how to explicitly set the values of a range. But without hardcoding I am looking on how make both axis lookalike given any data set.
|