Home › Forums › Chart Support › Customizing the Zoom functionality in the Mouse wheel event. › Reply To: Customizing the Zoom functionality in the Mouse wheel event.

#42602

@elanchezhiyan,

You can achieve zooming using mouse wheel by updating the viewportMinimum and viewportMaximum for both x-axis and y-axis based on the mouse position.

Please check this JSFiddle for a working example.

—
Thangaraj Raman
Team CanvasJS