hide method

void hide ()

Hides the crosshair if it is displayed.

Implementation

void hide() {
  if (_crosshairPainter != null) {
    _crosshairPainter.canResetPath = true;
    _crosshairPainter.chart._chartState.crosshairRepaintNotifier.value++;
  }
}