PointChartConfig

data class PointChartConfig(val axisLineWidth: Float = 2.0f, val gridLineWidth: Float = 1.0f, val circleRadius: Float = 10.0f, val showClickedBar: Boolean = true, val animationDurationMillis: Int = 500, val animationEasing: Easing = LinearEasing, val animatePoints: Boolean = true, val gridLinePathEffect: PathEffect = PathEffect.dashPathEffect(floatArrayOf(10f, 10f), 0f))

Data class representing the configuration for a point chart.

Constructors

Link copied to clipboard
constructor(axisLineWidth: Float = 2.0f, gridLineWidth: Float = 1.0f, circleRadius: Float = 10.0f, showClickedBar: Boolean = true, animationDurationMillis: Int = 500, animationEasing: Easing = LinearEasing, animatePoints: Boolean = true, gridLinePathEffect: PathEffect = PathEffect.dashPathEffect(floatArrayOf(10f, 10f), 0f))

Properties

Link copied to clipboard

A boolean indicating whether to animate the points.

Link copied to clipboard

The duration of the animation in milliseconds.

Link copied to clipboard

The easing function for the animation.

Link copied to clipboard
val axisLineWidth: Float = 2.0f

The width of the axis lines.

Link copied to clipboard
val circleRadius: Float = 10.0f

The radius of the circles in the chart.

Link copied to clipboard

The path effect for the grid lines.

Link copied to clipboard
val gridLineWidth: Float = 1.0f

The width of the grid lines.

Link copied to clipboard

A boolean indicating whether to show a bar when a point is clicked.