enable property

bool enable

Toggles the visibility of the interactive tooltip in an axis.

This tooltip will be displayed at the axis for crosshair and will be displayed near to the trackline for trackball.

Defaults to true.

late TrackballBehavior trackballBehavior;

void initState() {
  trackballBehavior: TrackballBehavior(
    enable: true,
    tooltipSettings: InteractiveTooltip(enable: false)

Widget build(BuildContext context) {
  return SfCartesianChart(
    trackballBehavior: trackballBehavior


final bool enable;