javascript - Dynamic Highcharts with maximum xaxis points -
i try create dynamic highcharts. use series.addpoint
. works fine chart adds points , doesn't move here - jsfiddle. can 100 points on screen. how can make 10 points on screen , hide old points?
http://api.highcharts.com/highcharts#series series.addpoint()'s third argument boolean enables shifting. if series not shifting, try setting third parameter true.
as second part, sure want "hide" old data? old data should shifted off end in real time graph (which assume you're going for). if have many points, can make x-axis smaller via axis.setextremes(). http://api.highcharts.com/highcharts#axis
Comments
Post a Comment