LineChartColorConfig

data class LineChartColorConfig(val axisColor: ChartColor, val gridLineColor: ChartColor, val lineColor: ChartColor, val lineFillColor: ChartColor = ChartColor.Gradient( lineColor.value.fastMap { it.copy(alpha = 0.2f) } ), val selectionBarColor: ChartColor)

Data class representing the color configuration for a line chart.

Constructors

Link copied to clipboard
constructor(axisColor: ChartColor, gridLineColor: ChartColor, lineColor: ChartColor, lineFillColor: ChartColor = ChartColor.Gradient( lineColor.value.fastMap { it.copy(alpha = 0.2f) } ), selectionBarColor: ChartColor)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The color of the axis lines.

Link copied to clipboard

The color of the grid lines.

Link copied to clipboard

The color of the line in the chart.

Link copied to clipboard

The fill color under the line in the chart, with a default gradient based on the line color.

Link copied to clipboard

The color of the selection bar.