hideDelay property

double hideDelay
final

Time delay for hiding the crosshair.

Defaults to 0.

late CrosshairBehavior _crosshairBehavior;

void initState() {
  _crosshairBehavior = CrosshairBehavior(
    enable: true,
    hideDelay: 3000
  );
  super.initState();
}

Widget build(BuildContext context) {
  return SfCartesianChart(
    crosshairBehavior: _crosshairBehavior
  );
}

Implementation

final double hideDelay;