Package-level declarations

Types

Link copied to clipboard
sealed class ChartColor

A sealed class representing different types of chart colors.

Link copied to clipboard
data class LabelConfig(val textColor: ChartColor, val showXLabel: Boolean, val showYLabel: Boolean, val xAxisCharCount: Int?, val labelTextStyle: TextStyle?)

Data class representing the configuration for labels in a chart.

Link copied to clipboard
data class TargetConfig(val targetLineBarColors: ChartColor, val targetStrokeWidth: Float, val pathEffect: PathEffect?)

Data class representing the configuration for the target line in a bar chart.

Link copied to clipboard
data class TextConfig(val fontSize: TextUnit, val textColor: ChartColor, val style: TextStyle, val isVisible: Boolean)

Functions

Link copied to clipboard

Extension function to convert a list of Colors to a Gradient ChartColor.

Link copied to clipboard

Extension function to convert a Color to a Solid ChartColor.