LineConfig

data class LineConfig(val lineChartStrokeWidth: Float = 5.0f, val lineCap: StrokeCap = StrokeCap.Round, val drawPointerCircle: Boolean = false, val showValueOnLine: Boolean = false, val valueTextStyle: TextStyle? = null, val valueTextColor: ChartColor = ChartColor.Solid(Color.Black))

Configuration for the line in the chart.

Constructors

Link copied to clipboard
constructor(lineChartStrokeWidth: Float = 5.0f, lineCap: StrokeCap = StrokeCap.Round, drawPointerCircle: Boolean = false, showValueOnLine: Boolean = false, valueTextStyle: TextStyle? = null, valueTextColor: ChartColor = ChartColor.Solid(Color.Black))

Properties

Link copied to clipboard

Whether to draw a pointer circle on the line.

Link copied to clipboard

Stroke cap style of the line.

Link copied to clipboard

Stroke width of the line.

Link copied to clipboard

Whether to show values on the line.

Link copied to clipboard

Text color for the values on the line.

Link copied to clipboard

Text style for the values on the line.