setViewRange

open override fun setViewRange(newRange: ClosedRange<Float>)

Sets the currently viewable range on the axis. This is a more direct alternative to using pan and zoom to set the range of currently viewable values on an axis. The start and end must be within the allowed range of the axis. If they exceed either limit they will be clamped to the range.