Wave

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

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