Line Chart
fun LineChart(dataCollection: ChartDataCollection, dotColor: Color, lineColor: Color, modifier: Modifier = Modifier, backgroundColor: Color = Color.White, padding: Dp = 16.dp, axisConfig: AxisConfig = ChartDefaults.axisConfigDefaults(), lineConfig: LineConfig = LineChartDefaults.defaultConfig(), radiusScale: Float = 0.02f)
A composable function that displays a line chart.
Parameters
data Collection
The collection of chart data points.
dot Color
The color of the data points.
line Color
The color of the line in the chart.
modifier
The modifier for the chart.
background Color
The background color of the chart.
padding
The padding around the chart.
axis Config
The configuration for the chart's axes.
line Config
The configuration for the line in the chart.
radius Scale
The scale factor for the radius of the data points.
fun LineChart(dataCollection: ChartDataCollection, modifier: Modifier = Modifier, padding: Dp = 16.dp, axisConfig: AxisConfig = ChartDefaults.axisConfigDefaults(), radiusScale: Float = 0.02f, lineConfig: LineConfig = LineChartDefaults.defaultConfig(), chartColors: LineChartColors = LineChartDefaults.defaultColor())
A composable function that displays a line chart.
Parameters
data Collection
The collection of chart data points.
modifier
The modifier for the chart.
padding
The padding around the chart.
axis Config
The configuration for the chart's axes.
radius Scale
The scale factor for the radius of the data points.
line Config
The configuration for the line in the chart.
chart Colors
The colors used in the chart.