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