createGradientLine

fun createGradientLine(lineColor: ERROR CLASS: Symbol not found for Color, pointSize: Float? = MEDIUM_POINT_SIZE_DP, lineWidth: Float = MEDIUM_LINE_WIDTH_DP): ERROR CLASS: Symbol not found for LineCartesianLayer.Line(source)

Creates a line with a gradient fill effect. The gradient goes from the line color to transparent.

Return

Configured LineCartesianLayer.Line

Parameters

lineColor

The primary color of the line

pointSize

Size of point markers (in dp). If null, no point markers are shown.

lineWidth

Width of the line in dp