Home › forums › Using CanvasJS › Zoom Feature on dynamic chart with data length › Reply To: Zoom Feature on dynamic chart with data length
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.