hide method

void hide()

Hides the trackball if it is displayed.

Implementation

void hide() {
  _position = null;
  if (builder != null) {
    (parentBox as RenderBehaviorArea?)
        ?.trackballBuilder!(<TrackballDetails>[]);
    chartPointInfo.clear();
  }
  (parentBox as RenderBehaviorArea?)?.invalidate();
}