The ChartGestures control allows the user to zoom or pan on the specified FlexChart.
To use the ChartGestures control, specify the FlexChart control on which to zoom or pan.
var chartGestures = new ChartGestures(chart);
constructor(chart: FlexChartCore, options?): ChartGestures
Initializes a new instance of the ChartGestures class.
The FlexChart that allows the user to zoom or pan.
A JavaScript object containing initialization data for the control.
Gets or sets the initial position of the axis X. The value represents initial position on the axis when the Scale is less than 1. Otherwise, the Value has no effect. The Value should lie between 0 to 1.
Gets or sets the initial position of the axis Y. The value represents initial position on the axis when the Scale is less than 1. Otherwise, the Value has no effect. The Value should lie between 0 to 1.
Gets or sets the initial scale of axis X. The scale should be more than 0 and less than or equal to 1. The scale specifies which part of the range between Min and Max is shown. When scale is 1 (default value), the whole axis range is visible.
Gets or sets the initial scale of axis Y. The scale should be more than 0 and less than or equal to 1. The scale specifies which part of the range between Min and Max is shown. When scale is 1 (default value), the whole axis range is visible.
reset(): void
Reset the axis of the chart.