Highcharts scrollbar dynamic data - from highcharts demo
I have found several posts on SO related to this topic, but none of them
quite fit this scenario.
I am trying to modify the generic Updating spline chart. I want to add a
horizontal scrollbar so you can scroll to the beginning of the data. I
have tried some of the suggestions with setting a min/max value on the
xAxis:
xAxis: {
min : new Date();
...
}
enabling the scrollbar:
scrollbar: {
enabled: true
},
and setting the extremes of the axis:
this.xAxis[0].setExtremes();
I think I am missing the correct combination of these or I am doing them
in the wrong place. Any help is greatly appreciated!
http://jsfiddle.net/xsx4T/3/
No comments:
Post a Comment