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.
no getter
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
order ↔ dynamic
Set tooltip values order Available Values: desc, asc, any[], function (data1, data2) { ... }, null
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
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.
toString() String
A string representation of this object.
inherited

Operators

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