Fraction

class Fraction(val fraction: Float) : BaseAxis.Size

Deprecated

Use `Auto` (optionally with `min` and `max`), `Fixed`, or `Text`. If you used `Fraction` to keep the chart area’s height constant as the x-axis height changed, set the chart area’s size directly instead; see the `chartAreaHeight` parameter of `CartesianChartHost`.

The axis will use a fraction of the available space.

Constructors

Link copied to clipboard
constructor(fraction: Float)

Properties

Link copied to clipboard

the fraction of the available space that the axis should use.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int