ASP.NET Chart Zooming and Panning

The zooming capabilities of the chart component are enabled by setting the ShieldChart.ZoomMode property. The possible options are:

  • None -zooming and panning are disabled
  • X- Zooming and panning are enabled only by axis X
  • Y- Zooming and panning are enabled only by axis Y
  • XY - Zooming and panning are enabled by axis X and axis Y

The actual zooming is done by using the mouse wheel.
The zooming is also dependent on the location of the mouse pointer - it determines the section which is being zoomed to.
This behavior is fully automatic and can be enabled for either one of the axes, or for both of them simultaneously.
Online example with enabled zooming and panning con be found here.