You must be logged in to post your query.
Home › Forums › Chart Support › Show only last X Points at live chart
Hi,
i have a chart with live data fetched by ajax/php. I want to show only the last x points (e.g. 50) of the series. I don´t want to have a “messed” chart after 1000 points. But it also should be possible to view the history of points (maybe horizontal scrollbar).
Any ideas how to achive this?
Thanks
@mwick,
You can achieve your requirement using viewportMaximum and viewportMinimum as shown in this JSFiddle.
—- Manoj Mohan Team CanvasJS
You must be logged in to reply to this topic. Login/Register