AxesStyle

data class AxesStyle(val visible: Boolean, val lines: AxisLinesStyle, val grid: GridStyle, val xLabels: AxisLabelStyle, val yLabels: AxisLabelStyle)(source)

Axis lines, grid, and labels shared by Cartesian charts.

Constructors

Link copied to clipboard
constructor(visible: Boolean, lines: AxisLinesStyle, grid: GridStyle, xLabels: AxisLabelStyle, yLabels: AxisLabelStyle)

Properties

Link copied to clipboard

Horizontal grid configuration.

Link copied to clipboard

X- and Y-axis stroke configuration. The X-axis line follows the chart's baseline.

Link copied to clipboard

Whether any axes elements show. When false, lines, grid, and labels are hidden and labels reserve no space. Individual visibility settings apply when this is true.

Link copied to clipboard

X-axis label configuration.

Link copied to clipboard

Numeric Y-axis label configuration.

Functions

Link copied to clipboard

Clamps stroke widths and grid steps. Label sizes pass through for validation.