shared property
Share the tooltip with same index points.
Defaults to false
.
late TooltipBehavior tooltipBehavior;
void initState() {
tooltipBehavior = TooltipBehavior(
enable: true,
shared: true
);
super.initState();
}
Widget build(BuildContext context) {
return SfCartesianChart(
tooltipBehavior: tooltipBehavior
);
}
Implementation
final bool shared;