canShowMarker property
Toggles the visibility of the marker in the tooltip.
Defaults to true
.
late TooltipBehavior tooltipBehavior;
void initState() {
tooltipBehavior = TooltipBehavior(
enable: true,
canShowMarker: false
);
super.initState();
}
Widget build(BuildContext context) {
return SfCartesianChart(
tooltipBehavior: tooltipBehavior
);
}
Implementation
final bool canShowMarker;