Create a touch indicator action. You can touch over the chart to display a data indicator.
Parameter | Type | Description |
---|---|---|
chart | dojox/charting/Chart | The chart this action applies to. |
plot | undefined | |
kwArgs | Object |
Optional Optional arguments for the chart action. |
Connect this action to the chart. This adds a indicator 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 |
Parameter | Type | Description |
---|---|---|
event | undefined |
Parameter | Type | Description |
---|---|---|
event | undefined | |
delayed | Boolean | If called from "this.focus._delayedHeaderFocus()" |
Called when the indicator value changed.
Parameter | Type | Description |
---|---|---|
event | undefined | An event with a start and end properties containing the {x, y} data points of the first and second (if available) touch indicators. It also contains a label property containing the displayed text. |
Called when touch is ended or canceled 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 |