Companion

object Companion

Functions

Link copied to clipboard

Creates an AxisValuesOverrider with adaptive minimum and maximum y-axis values. The overridden maximum y-axis value is equal to ChartEntryModel.maxY × yFraction. The overridden minimum y-axis value is smaller than ChartEntryModel.minY by ChartEntryModel.maxY × yFractionChartEntryModel.maxY.

Link copied to clipboard
fun fixed(minX: Float? = null, maxX: Float? = null, minY: Float? = null, maxY: Float? = null): AxisValuesOverrider<ChartEntryModel>

Creates an AxisValuesOverrider with fixed values for minX, maxX, minY, and maxY. If one of the values is null, the chart will fall back to the default value.