Line

data class Line(val dataPoints: List<Point>, val lineStyle: LineStyle = LineStyle(), val intersectionPoint: IntersectionPoint? = null, val selectionHighlightPoint: SelectionHighlightPoint? = null, val shadowUnderLine: ShadowUnderLine? = null, val selectionHighlightPopUp: SelectionHighlightPopUp? = null)

Represent a Line in the co.yml.charts.ui.linechart

Parameters

dataPoints

list of points Point in the line

lineStyle

Adds styling options in LineStyle to the line path drawn.

intersectionPoint

drawing logic to draw the point itself in IntersectionPoint. If null, the point is not drawn.

selectionHighlightPoint

drawing logic to draw the highlight at the point when it is selected in SelectionHighlightPoint If null, the point won't be highlighted on selection

shadowUnderLine

drawing logic for the section under the line in ShadowUnderLine.

selectionHighlightPopUp

All prams related to selection popup to be added here in SelectionHighlightPopUp

Constructors

Link copied to clipboard
constructor(dataPoints: List<Point>, lineStyle: LineStyle = LineStyle(), intersectionPoint: IntersectionPoint? = null, selectionHighlightPoint: SelectionHighlightPoint? = null, shadowUnderLine: ShadowUnderLine? = null, selectionHighlightPopUp: SelectionHighlightPopUp? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard