Create a touch zoom and pan action. You can zoom out or in the data window with pinch and spread gestures except on Android 2.x and WP8 devices. You can scroll using drag gesture. Finally this is possible to navigate between a fit window and a zoom one using double tap gesture.
Parameter | Type | Description |
---|---|---|
chart | dojox/charting/Chart | The chart this action applies to. |
plot | undefined | |
kwArgs | Object |
Optional Optional arguments for the action. |
Parameter | Type | Description |
---|---|---|
event | undefined |
Parameter | Type | Description |
---|---|---|
axis | undefined |
Connect this action to the chart. On iOS this adds a new glass view plot to the chart that's why Chart.render() must be called after connect.
Do any cleanup needed when destroying parent elements.
Disconnect this action from the chart.
Parameter | Type | Description |
---|---|---|
type | undefined | |
listener | undefined |
Called when double tap is performed on the chart.
Parameter | Type | Description |
---|---|---|
event | undefined |
Called when touch is ended on the chart.
Parameter | Type | Description |
---|---|---|
event | undefined |
Called when touch is moved on the chart.
Parameter | Type | Description |
---|---|---|
event | undefined |
Called when touch is started on the chart.
Parameter | Type | Description |
---|---|---|
event | undefined |