color property
Color of the interactive tooltip.
Used to change the color of the tooltip text.
Defaults to null
.
late TrackballBehavior trackballBehavior;
void initState() {
trackballBehavior: TrackballBehavior(
enable: true,
tooltipSettings: InteractiveTooltip(
color: Colors.grey
)
);
super.initState();
}
Widget build(BuildContext context) {
return SfCartesianChart(
trackballBehavior: trackballBehavior
);
}
Implementation
final Color? color;