AxisValuesOverrider

Overrides a chart’s minimum and maximum x-axis and y-axis values. This can be used with com.patrykandpatrick.vico.views.chart.BaseChartView and the com.patrykandpatrick.vico.compose.chart.Chart composable.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open fun getMaxX(model: Model): Float?

The maximum value shown on the x-axis. If null is returned, the chart will fall back to the default value.

Link copied to clipboard
open fun getMaxY(model: Model): Float?

The maximum value shown on the y-axis. If null is returned, the chart will fall back to the default value.

Link copied to clipboard
open fun getMinX(model: Model): Float?

The minimum value shown on the x-axis. If null is returned, the chart will fall back to the default value.

Link copied to clipboard
open fun getMinY(model: Model): Float?

The minimum value shown on the y-axis. If null is returned, the chart will fall back to the default value.