Set minimum start value for x axis
Posted: Mon May 01, 2017 1:36 pm
Hi
Using the volume demo, I am trying to change the start value for the X axis.
I've tried:
Chart1.getAxes().getLeft().setAutomatic(false);
Chart1.getAxes().getLeft().setMaximum(150);
Chart1.getAxes().getLeft().setMinimum(76);
but these functions/properties are not available for volume charts?
I've tried setMaxMin but that still gives a start value at 0 and a maximum 150?
If I only want to show the x-axis range from 76 to 150. How would I do that?
Thanks in advance.
Using the volume demo, I am trying to change the start value for the X axis.
I've tried:
Chart1.getAxes().getLeft().setAutomatic(false);
Chart1.getAxes().getLeft().setMaximum(150);
Chart1.getAxes().getLeft().setMinimum(76);
but these functions/properties are not available for volume charts?
I've tried setMaxMin but that still gives a start value at 0 and a maximum 150?
If I only want to show the x-axis range from 76 to 150. How would I do that?
Thanks in advance.