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
data Points
list of points Point in the wave
wave Style
Adds styling options in LineStyle to the wave path drawn.
intersection Point
drawing logic to draw the point itself in IntersectionPoint. If null, the point is not drawn.
selection Highlight Point
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
shadow Under Line
drawing logic for the section under the wave in ShadowUnderLine.
selection Highlight Pop Up
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())