Line

constructor(fill: LineCartesianLayer.LineFill, thicknessDp: Float = Defaults.LINE_SPEC_THICKNESS_DP, areaFill: LineCartesianLayer.AreaFill? = fill.getDefaultAreaFill(), cap: Paint.Cap = Paint.Cap.ROUND, pointProvider: LineCartesianLayer.PointProvider? = null, pointConnector: LineCartesianLayer.PointConnector = PointConnector.cubic(), dataLabel: TextComponent? = null, dataLabelVerticalPosition: VerticalPosition = VerticalPosition.Top, dataLabelValueFormatter: CartesianValueFormatter = CartesianValueFormatter.decimal(), dataLabelRotationDegrees: Float = 0.0f)

Parameters

cap

the stroke cap.