Wave

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

Represent a Wave in the co.yml.charts.ui.wavechart

Parameters

dataPoints

list of points Point in the wave

waveStyle

Adds styling options in LineStyle to the wave 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 wave in ShadowUnderLine.

selectionHighlightPopUp

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

Constructors

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

Properties

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