Create an mouse zoom and pan action. You can zoom in or out the data window with mouse wheel. You can scroll using mouse drag gesture. You can toggle between zoom and fit view using double click on the chart.
Parameter | Type | Description |
---|---|---|
chart | dojox/charting/Chart | The chart this action applies to. |
plot | undefined | |
kwArgs | Object |
Optional Optional arguments for the chart action. |
Parameter | Type | Description |
---|---|---|
event | undefined |
Do any cleanup needed when destroying parent elements.
Disconnect this action from the chart.
Parameter | Type | Description |
---|---|---|
type | undefined | |
listener | undefined |
Parameter | Type | Description |
---|---|---|
scroll | undefined | |
event | undefined |
Called when the mouse is double is double clicked on the chart. Toggle between zoom and fit chart.
Parameter | Type | Description |
---|---|---|
event | undefined |
Called when a key is pressed on the chart.
Parameter | Type | Description |
---|---|---|
event | undefined |
Called when mouse is down on the chart.
Parameter | Type | Description |
---|---|---|
event | undefined |
Called when mouse is moved on the chart.
Parameter | Type | Description |
---|---|---|
event | undefined |
Called when mouse is up on the chart.
Parameter | Type | Description |
---|---|---|
event | undefined |
Called when mouse wheel is used on the chart.
Parameter | Type | Description |
---|---|---|
event | undefined |