Axis

data class Axis(val color: Color = Color.LightGray, val majorTickSize: Dp = 7.dp, val minorTickSize: Dp = 3.dp, val lineThickness: Dp = 0.dp, val tickPosition: TickPosition = TickPosition.Outside, val xyGraphTickPosition: TickPosition = TickPosition.Outside, val majorGridlineStyle: LineStyle? = LineStyle( SolidColor(Color.LightGray), strokeWidth = 0.dp ), val minorGridlineStyle: LineStyle? = LineStyle( SolidColor(Color.LightGray), strokeWidth = 0.dp ))

Theme properties for Axes and grid lines.

Constructors

Link copied to clipboard
constructor(color: Color = Color.LightGray, majorTickSize: Dp = 7.dp, minorTickSize: Dp = 3.dp, lineThickness: Dp = 0.dp, tickPosition: TickPosition = TickPosition.Outside, xyGraphTickPosition: TickPosition = TickPosition.Outside, majorGridlineStyle: LineStyle? = LineStyle( SolidColor(Color.LightGray), strokeWidth = 0.dp ), minorGridlineStyle: LineStyle? = LineStyle( SolidColor(Color.LightGray), strokeWidth = 0.dp ))

Properties

Link copied to clipboard

Axis color

Link copied to clipboard

The line thickness of axes

Link copied to clipboard

The style for major gridlines, set to null to turn off

Link copied to clipboard

The length of major tick marks

Link copied to clipboard

The style for minor gridlines, set to null to turn off

Link copied to clipboard

The length of minor tick marks

Link copied to clipboard
Link copied to clipboard