PointChart

fun PointChart(dataCollection: ChartDataCollection, contentColor: Color, modifier: Modifier = Modifier, backgroundColor: Color = Color.White, padding: Dp = 16.dp, pointType: PointType = PointType.Stroke(), axisConfig: AxisConfig = ChartDefaults.axisConfigDefaults(), radiusScale: Float = 0.02f)

Displays a point chart using the provided data.

Parameters

dataCollection

The collection of chart data.

contentColor

The color of the chart points.

modifier

The modifier for the chart.

backgroundColor

The background color of the chart.

padding

The padding around the chart.

pointType

The type of point to use in the chart.

axisConfig

The configuration for the chart axes.

radiusScale

The scale factor for the point radius.


fun PointChart(dataCollection: ChartDataCollection, modifier: Modifier = Modifier, padding: Dp = 16.dp, pointType: PointType = PointType.Stroke(), axisConfig: AxisConfig = ChartDefaults.axisConfigDefaults(), radiusScale: Float = 0.02f, chartColors: ChartColors = ChartDefaults.colorDefaults())

Displays a point chart using the provided data.

Parameters

dataCollection

The collection of chart data.

modifier

The modifier for the chart.

padding

The padding around the chart.

pointType

The type of point to use in the chart.

axisConfig

The configuration for the chart axes.

radiusScale

The scale factor for the point radius.

chartColors

The colors used in the chart.