MutableYRange

A mutable implementation of CartesianChartRanges.YRange.

Constructors

Link copied to clipboard
constructor(minY: Double, maxY: Double)

Properties

Link copied to clipboard
open override val length: Double

The difference between maxY and minY.

Link copied to clipboard
open override var maxY: Double

The maximum y value.

Link copied to clipboard
open override var minY: Double

The minimum y value.

Functions

Link copied to clipboard
fun tryUpdate(minY: Double, maxY: Double)

Tries to update MutableYRange.minY and MutableYRange.maxY. MutableYRange.minY can only be decreased. MutableYRange.maxY can only be increased.