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

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -