setScaleViewport method
Implementation
void setScaleViewport(OrdinalViewport viewport) {
autoViewport = false;
(scale as OrdinalScale)
.setViewport(viewport.dataSize, viewport.startingDomain);
}
void setScaleViewport(OrdinalViewport viewport) {
autoViewport = false;
(scale as OrdinalScale)
.setViewport(viewport.dataSize, viewport.startingDomain);
}