InteractiveTooltip class

Customizes the interactive tooltip.

Shows the information about the segments. To enable the interactive tooltip, set that enable property to true.

By using this,to customize the color, borderWidth, borderRadius, format and so on.

Note: Interactive tooltip applicable for axis types and trackball.

Annotations

Constructors

InteractiveTooltip({bool enable = true, Color? color, Color? borderColor, double borderWidth = 0, double borderRadius = 5, double arrowLength = 7, double arrowWidth = 5, String? format, Color? connectorLineColor, double connectorLineWidth = 1.5, List<double>? connectorLineDashArray, int decimalPlaces = 3, bool canShowMarker = true, TextStyle? textStyle})
Creating an argument constructor of InteractiveTooltip class.
const

Properties

arrowLength double
It Specifies the length of the tooltip.
final
arrowWidth double
It specifies the width of the tooltip arrow.
final
borderColor Color?
Border color of the interactive tooltip.
final
borderRadius double
Customizes the corners of the interactive tooltip.
final
borderWidth double
Border width of the interactive tooltip.
final
canShowMarker bool
Toggles the visibility of the marker in the trackball tooltip.
final
color Color?
Color of the interactive tooltip.
final
connectorLineColor Color?
Color of the selection zooming tooltip connector line.
final
connectorLineDashArray List<double>?
Giving dash array to the selection zooming tooltip connector line.
final
connectorLineWidth double
Width of the selection zooming tooltip connector line.
final
decimalPlaces int
Rounding decimal places of the selection zooming tooltip or trackball tooltip label.
final
enable bool
Toggles the visibility of the interactive tooltip in an axis.
final
format String?
Text format of the interactive tooltip.
final
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
textStyle TextStyle?
Customizes the text in the interactive tooltip.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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