LineChartConfig

data class LineChartConfig(val axisLineWidth: Float = 2.0f, val gridLineWidth: Float = 1.0f, val lineChartStrokeWidth: Float = 5.0f, val gridLinePathEffect: PathEffect = PathEffect.dashPathEffect(floatArrayOf(10f, 10f), 0f), val lineCap: StrokeCap = StrokeCap.Round, val drawPointerCircle: Boolean = false)

Data class representing the configuration for a line chart.

Constructors

Link copied to clipboard
constructor(axisLineWidth: Float = 2.0f, gridLineWidth: Float = 1.0f, lineChartStrokeWidth: Float = 5.0f, gridLinePathEffect: PathEffect = PathEffect.dashPathEffect(floatArrayOf(10f, 10f), 0f), lineCap: StrokeCap = StrokeCap.Round, drawPointerCircle: Boolean = false)

Properties

Link copied to clipboard
val axisLineWidth: Float = 2.0f

The width of the axis lines.

Link copied to clipboard

A boolean indicating whether to draw a pointer circle on the line.

Link copied to clipboard

The path effect for the grid lines.

Link copied to clipboard
val gridLineWidth: Float = 1.0f

The width of the grid lines.

Link copied to clipboard

The stroke cap style for the line chart.

Link copied to clipboard

The width of the line chart stroke.