Hi,
I have an application where I need to update the content depending on the current time axis width and yaxis dataMin, dataMax values.
The application needs to update the yaxis extrema depending on the current yAxis dataMin, dataMax values. But it seems that the dataMin, dataMax values
are not updated immediately. The problem only occurs if I define a (simple) seriesType of my own, in the jsfiddle it simply draws a line between the
first visible data point to the last.
In the attached jsfiddle:
* run it
* select the "1y" range
https://jsfiddle.net/lourensm/abkur9mn/
Look at the output at the bottom:
The dataMin, dataMax values are not uptodate in the afterSetExtremes event callback. After setExtremes they do become correct.
My expected behavior for the fiddle is that for any selected time range, the minimum, maximum y values just fit inside the graph.
Could you help me please?
Lourens