TooltipOptions class

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.
write-only
format ↔ dynamic
read / write
grouped ↔ bool
Set if tooltip is grouped or not for the data points.
read / write
order ↔ dynamic
Set tooltip values order Available Values: desc, asc, any[], function (data1, data2) { ... }, null
read / write
show ↔ bool
Show or hide tooltip.
read / write
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

position(dynamic data, num width, num height, dynamic element) → dynamic
Set custom position for the tooltip. This option can be used to modify the tooltip position by returning object that has top and left.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited