dojox/charting/action2d/TouchIndicator (version 1.10)

dojox/charting/action2d/ChartAction

Summary

Create a touch indicator action. You can touch over the chart to display a data indicator.

Usage

var foo = new TouchIndicator(chart,plot,kwArgs);
dojox/charting/action2d/TouchIndicator
Parameter Type Description
chart dojox/charting/Chart

The chart this action applies to.

plot undefined
kwArgs Object
Optional

Optional arguments for the chart action.

Property Summary

Method Summary

  • connect() Connect this action to the chart.
  • destroy() Do any cleanup needed when destroying parent elements.
  • disconnect() Disconnect this action from the chart.
  • emit(type,event)
  • on(type,listener)

Event Summary

Properties

defaultParams
optionalParams

Methods

connect()

Connect this action to the chart. This adds a indicator plot to the chart that's why Chart.render() must be called after connect.

destroy()

Do any cleanup needed when destroying parent elements.

disconnect()

Disconnect this action from the chart.

emit(type,event)
Defined by dojo/Evented
Parameter Type Description
type undefined
event undefined
Returns:undefined
on(type,listener)
Defined by dojo/Evented
Parameter Type Description
type undefined
listener undefined
Returns:undefined

Events

_onTouchDual(event)
Parameter Type Description
event undefined
_onTouchSingle(event,delayed)
Parameter Type Description
event undefined
delayed Boolean

If called from "this.focus._delayedHeaderFocus()"

onChange(event)

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.

onTouchEnd(event)

Called when touch is ended or canceled on the chart.

Parameter Type Description
event undefined
onTouchMove(event)

Called when touch is moved on the chart.

Parameter Type Description
event undefined
onTouchStart(event)

Called when touch is started on the chart.

Parameter Type Description
event undefined
Error in the documentation? Can’t find what you are looking for? Let us know!