Interface for a class ZoomSettings
Options to improve accessibility for zoom toolkit elements.
boolean
If set to true, the chart will animate when zooming.
boolean
If set to true, zooming will be performed on mouse up.
Note that
enableDeferredZooming
requiresenableSelectionZooming
to be true.
<div id='Chart'></div>
let chart: Chart = new Chart({
...
zoomSettings: {
enableSelectionZooming: true,
enableDeferredZooming: false
}
...
});
chart.appendTo('#Chart');
boolean
If set to true, the chart can be zoomed using the mouse wheel.
boolean
If set to true, the chart can be panned without requiring toolbar items. If set to false, panning is disabled, and the toolbar options must be used to pan the chart.
boolean
If set to true, the chart can be pinched to zoom in and out.
boolean
Specifies whether the axis should have a scrollbar.
boolean
If set to true, the chart can be zoomed in by selecting a rectangular region on the plot area.
Specifies whether to allow zooming vertically, horizontally, or in both ways. Available options are:
Y: Chart can be zoomed vertically.
Note that
enableSelectionZooming
must be set to true for this feature to work.
<div id='Chart'></div>
let chart: Chart = new Chart({
...
zoomSettings: {
enableSelectionZooming: true,
mode: 'XY'
}
...
});
chart.appendTo('#Chart');
boolean
If set to true, the chart is rendered with a toolbar on initial load.
Specifies the toolkit options for zooming as follows:
Allows customization of the zoom toolbar position. Users can set the horizontal and vertical alignment of the toolbar, as well as specify offsets for precise placement.