MutableCartesianChartRanges

A CartesianChartRanges implementation whose every property is mutable.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard

A mutable implementation of CartesianChartRanges.YRange.

Properties

Link copied to clipboard
open override val maxX: Double

The maximum x value.

Link copied to clipboard
open override val minX: Double

The minimum x value.

Link copied to clipboard
open override var xStep: Double

The difference between neighboring major x values.

Functions

Link copied to clipboard

Returns the YRange associated with the given Axis.Position.Vertical subclass. If axisPosition is null or has no associated YRange, the global YRange is returned.

Link copied to clipboard
fun reset()

Clears all values.

Link copied to clipboard
fun tryUpdate(minX: Double, maxX: Double, minY: Double, maxY: Double, axisPosition: Axis.Position.Vertical?)

Tries to update the stored values. A minimum value can only be decreased. A maximum value can only be increased.