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.
Set minimum start value for x axis
-
- Newbie
- Posts: 6
- Joined: Tue Apr 11, 2017 12:00 am
Re: Set minimum start value for x axis
Hello,
First of all note the x axis is the bottom axis, not the left axis.
Then, note there aren't getters and setters in TeeChart Javascript/HTML5.
This should work:
First of all note the x axis is the bottom axis, not the left axis.
Then, note there aren't getters and setters in TeeChart Javascript/HTML5.
This should work:
Code: Select all
Chart1.axes.bottom.setMinMax(76,150);
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |