WaveChartData

constructor(wavePlotData: WavePlotData, xAxisData: AxisData = AxisData.Builder().build(), yAxisData: AxisData = AxisData.Builder().build(), isZoomAllowed: Boolean = true, paddingTop: Dp = 30.dp, bottomPadding: Dp = 10.dp, paddingRight: Dp = 10.dp, containerPaddingEnd: Dp = 15.dp, backgroundColor: Color = Color.White, gridLines: GridLines? = null, accessibilityConfig: AccessibilityConfig = AccessibilityConfig())

Parameters

wavePlotData

: The path to be drawn on the graph represented by a wave.

xAxisData

: All the configurations related to X-Axis to be defined here in AxisData

yAxisData

: All the configurations related to Y-Axis to be defined here in AxisData

isZoomAllowed

: True if zoom in for all vertical graph components is allowed else false.

paddingTop

: Padding from the top of the canvas to start of the graph container.

paddingRight

: Padding from the end of the canvas to end of the graph container.

bottomPadding

: Padding from the bottom of the canvas to bottom of the graph container.

containerPaddingEnd

: Container inside padding end after the last point of the graph.

backgroundColor

: Background color of the Y & X components,

gridLines

: This enables graph to draw horizontal and vertical grid lines

accessibilityConfig

: Configs related to accessibility service defined here in AccessibilityConfig