interactiveTooltip property
Customizes the crosshair and selection zooming tooltip. Tooltip displays the current axis value based on the crosshair position/selectionZoomRect position at an axis.
Widget build(BuildContext context) {
return Container(
child: SfCartesianChart(
primaryXAxis: NumericAxis(interactiveTooltip: InteractiveTooltip(enable: true)),
)
);
}
Implementation
final InteractiveTooltip interactiveTooltip;