You must be logged in to post your query.
Home › Forums › Chart Support › Zoom Feature on dynamic chart with data length
Hello,
I use the commercial version of CanvasJS and I need some help on zooming feature:
I have a chart that continuosly writes data. So I use Data Length and shifting to only show the last 30mins. I need the zooming feature enabled.
Now when the chart has shifted one time, I cannot access the data from my starting point at 0.
Is this possible? You can see a testing example here:
http://jsfiddle.net/Whykiki/bkacarjo/188/
@whykiki,
shift() removes the elements from the beginning of the array. i.e. As you are shifting dataPoints after every 30minutes, it just means you are removing all dataPoints except last 30minutes. Because of this, you will not be able to zoom/pan to the region where there are no dataPoints.
___________ Indranil Deo, Team CanvasJS
You must be logged in to reply to this topic. Login/Register