dojox/charting/action2d/Tooltip (version 1.10)

dojox/charting/action2d/PlotAction

Summary

Create an action on a plot where a tooltip is shown when hovering over an element.

Usage

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

The chart this action belongs to.

plot String
Optional

The plot this action is attached to. If not passed, "default" is assumed.

kwArgs Object
Optional

Optional keyword arguments object for setting parameters.

Property Summary

Method Summary

  • _format(tooltipText)
  • _recheckPosition(obj,rect,position)
  • connect() Connect this action to the given plot.
  • destroy() Do any cleanup needed when destroying parent elements.
  • disconnect() Disconnect this action from the given plot, if connected.
  • emit(type,event)
  • on(type,listener)
  • process(o) Process the action on the given object.
  • reset() Reset the action.

Event Summary

Properties

defaultParams
optionalParams
overOutEvents

Methods

_format(tooltipText)
Parameter Type Description
tooltipText undefined
Returns:undefined
_recheckPosition(obj,rect,position)
Parameter Type Description
obj undefined
rect undefined
position undefined
connect()

Connect this action to the given plot.

destroy()

Do any cleanup needed when destroying parent elements.

disconnect()

Disconnect this action from the given plot, if connected.

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
process(o)

Process the action on the given object.

Parameter Type Description
o dojox/gfx/shape.Shape

The object on which to process the highlighting action.

reset()

Reset the action.

Events

onClick()
Error in the documentation? Can’t find what you are looking for? Let us know!