Home forums Using CanvasJS viewPort Max/Min with date value Reply To: viewPort Max/Min with date value

#25159

@saltstrong,

You can programmatically zoom into a region by setting viewportMinimum and viewportMaximum.

To zoom into a certain region, there should be a minimum of 3-4 dataPoints – behavior is designed such that zooming is limited upto a certain region, so the user doesn’t end up zooming into a blank-region (region with no dataPoints). Due to this restriction, it’s not possible to pan chart as you zoom into the region with just 1 dataPoint.

——-
Manoj Mohan
Team CanvasJS