AxisConfig

data class AxisConfig(val showAxes: Boolean, val showGridLines: Boolean, val showGridLabel: Boolean, val axisStroke: Float, val minLabelCount: Int, val axisColor: Color, val gridColor: Color = axisColor.copy(alpha = 0.5F))

Configuration for the axes and grid lines in a chart.

Parameters

showAxes

Whether to show the axes.

showGridLines

Whether to show the grid lines.

showGridLabel

Whether to show the grid labels.

axisStroke

The stroke width of the axes.

minLabelCount

The minimum number of labels to display.

axisColor

The color of the axes.

gridColor

The color of the grid lines. Defaults to a slightly transparent version of the axis color.

Constructors

Link copied to clipboard
constructor(showAxes: Boolean, showGridLines: Boolean, showGridLabel: Boolean, axisStroke: Float, minLabelCount: Int, axisColor: Color, gridColor: Color = axisColor.copy(alpha = 0.5F))

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard