setScaleViewport method

void setScaleViewport(
  1. NumericExtents viewport
)

Implementation

void setScaleViewport(NumericExtents viewport) {
  autoViewport = false;
  (scale as NumericScale).viewportDomain = viewport;
}