Version

SparklineClientEvents Class Members

The following tables list the members exposed by SparklineClientEvents.

Public Fields
 NameDescription
Public FieldDataBindingEvent which is raised before data binding.

Return false in order to cancel data binding.

Function takes first argument null and second argument ui.

Use ui.owner to obtain reference to chart widget.

Use ui.dataSource to obtain reference to instance of $.ig.DataSource.

 
Public FieldDataBoundEvent which is raised after data binding.

Function takes first argument null and second argument ui.

Use ui.owner to obtain reference to chart widget.

Use ui.data to obtain reference to array actual data which is displayed by chart.

Use ui.dataSource to obtain reference to instance of $.ig.DataSource.

 
Public FieldHideTooltipEvent which is raised before tooltip is hidden.

Return false in order to cancel hiding and keep tooltip visible.

Function takes arguments evt and ui.

Use ui.owner to obtain reference to chart widget.

Use ui.item to obtain reference to item.

Use ui.element to obtain reference to jquery object which represents tooltip or value of ui.element from last updateTooltip event. Value of that member can be replaced by custom element.

 
Public FieldUpdateTooltipEvent which is raised before tooltip is updated.

Return false in order to cancel updating and hide tooltip.

Function takes arguments evt and ui.

Use ui.owner to obtain reference to chart widget.

Use ui.text to obtain html of tooltip. Value of that member can be modified. If modified value is null or empty string, then current content of tooltip keeps old value.

Use ui.item to obtain reference to item. Value of that member can be modified or replaced by custom item.

Use ui.x to obtain left position of tooltip in pixels relative to widget. Value of that member can be modified.

Use ui.y to obtain top position of tooltip in pixels relative to widget. Value of that member can be modified.

Use ui.element to obtain reference to jquery object which represents tooltip. Value of that member can be replaced by custom element.  
See Also

View on GitHub