createDashedLine

fun createDashedLine(lineColor: Color, interpolator: LineCartesianLayer.Interpolator = LineCartesianLayer.Interpolator.cubic()): LineCartesianLayer.Line(source)

Creates a dashed secondary line. Useful for distinguishing two metrics that share the same axis without relying on colour alone.

Return

Configured LineCartesianLayer.Line

Parameters

lineColor

The color of the dashed line