enable property Null safety

bool enable
final

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.

Widget build(BuildContext context) {
   return Container(
       child: SfCartesianChart(
          trackballBehavior: TrackballBehavior(enable: true,
          tooltipSettings: InteractiveTooltip(enable:false)),
       ));
}

Implementation

final bool enable;