DefaultPointConnector

class DefaultPointConnector(cubicStrength: Float = DefaultDimens.CUBIC_STRENGTH) : LineChart.LineSpec.PointConnector

The default implementation of LineChart.LineSpec.PointConnector. This uses cubic bezier curves.

See also

Constructors

Link copied to clipboard
constructor(cubicStrength: Float = DefaultDimens.CUBIC_STRENGTH)

Functions

Link copied to clipboard
open override fun connect(path: Path, prevX: Float, prevY: Float, x: Float, y: Float, horizontalDimensions: HorizontalDimensions, bounds: RectF)

Draws a line between two points.