DHTMLXGraph : change the y scale dynamically?


#1

Hi,
I have a combo showing a list of values.
I also have a graph where I want to show the values filtered with combo value.
The data are very different , so is it possible to let the graph change dynamically the y-scale?
Or is it possible to have the max value of the dataset ( not using a grid) and set the y value by script?
Thanks

Philip


#2

Hi
There is no way to redraw chart’s scale “on fly”. You need to call destructor() and rebuild chart every time you need to update “start”, “end” and “step” values of y-axis.


#3

Thanks


#4

You are welcome!