resetExtremes method

void resetExtremes()

Implementation

void resetExtremes() {
  vmax = -10000000000000;
  vmin = 10000000000000;
  data.forEach((i) {
    vmax = max(vmax, i);
    vmin = min(vmin, i);
  });
  dirtyExtremes = 0;
}