• Fluent
  • Fluent Dark
  • Bootstrap v5
  • Bootstrap v5 Dark
  • Tailwind CSS
  • Tailwind CSS Dark
  • Material
  • Bootstrap v4
  • High Contrast
Theme Selection
Mode Selection
*Translated by Google Translator.
Essential Studio
All Controls

Example of Zooming and Panning in ASP.NET Core Chart Control

This sample illustrates zooming feature in chart. The change can be zoomed by pinching or by mouse wheel.


This sample demonstrates the zooming and panning behavior in chart.

  • Click and drag the mouse on a chart area to enable selection zooming.
  • Hover the mouse on the toolbar at the top right corner of chart area to switch between zooming and panning.
  • Pinch in and pinch out the chart area to zoom in or zoom out the chart in touch enabled devices.
  • Touch and drag to pan the chart.
  • Double tap to reset the zoomed chart.

Chart component supports four types of zooming which can be set using the enableSelectionZooming, enablePinchZooming, enableMouseWheelZooming, and enableDeferredZooming properties.

Chart supports two mode of zooming which can be set using the mode property.

  • XY - Zoom the chart with respect to both the axis.
  • X - Zoom the chart with respect to horizontal axis.
  • Y - Zoom the chart with respect to vertical axis.

More information on the Zooming can be found in this   documentation section.