Zoom and Pan


Users can zoom and pan the chart with the mouse wheel or touch gestures. To enable zoom and pan, add a DxChartZoomAndPanSettings object and specify its ArgumentAxisZoomAndPanMode and ValueAxisZoomAndPanMode properties. To disable the mouse wheel or touch gestures, use the AllowMouseWheel or AllowTouchGestures properties.

You can also add a scroll bar that allows users to pan the chart along the argument axis. To do this, add a DxChartScrollBarSettings object and set its ArgumentAxisScrollBarVisible property to true. Use the ArgumentAxisScrollBarPosition property to specify the scroll bar's position.

When the chart contains the large number of points, you can aggregate data to optimize performance. Add a DxChartAggregationSettings object to the markup, set its Enabled property to true, and specify an aggregation method in the Method property.