TooltipOptions class abstract

Annotations
  • @anonymous
  • @JS()

Constructors

TooltipOptions()
factory

Properties

contents ↔ dynamic
Set custom HTML for the tooltip. Specified function receives data, defaultTitleFormat, defaultValueFormat and color of the data point to show. If tooltip.grouped is true, data includes multiple data points.
getter/setter pair
doNotHide bool
Make tooltip keep showing not hiding on interaction.
getter/setter pair
format ↔ dynamic
getter/setter pair
grouped bool
Set if tooltip is grouped or not for the data points.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
init ↔ dynamic
getter/setter pair
linked ↔ dynamic
Set if tooltips on all visible charts with like x points are shown together when one is shown.
getter/setter pair
order ↔ dynamic
Set tooltip values order Available Values: desc, asc, any[], function (data1, data2) { ... }, null
getter/setter pair
position ↔ dynamic Function(dynamic, num, num, dynamic)
Set custom position function for the tooltip. This option can be used to modify the tooltip position by returning object that has top and left.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
show bool
Show or hide tooltip.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onhidden(DataItem selectedData) → void
Set a callback that will be invoked after the tooltip is hidden.
onhide(DataItem selectedData) → void
Set a callback that will be invoked before the tooltip is hidden.
onshow(DataItem selectedData) → void
Set a callback that will be invoked before the tooltip is shown.
onshown(DataItem selectedData) → void
Set a callback that will be invoked after the tooltip is shown
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited