Line Chart Data
constructor(linePlotData: LinePlotData, 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
line Plot Data
: The path to be drawn on the graph represented by a line.
x Axis Data
: All the configurations related to X-Axis to be defined here in AxisData
y Axis Data
: All the configurations related to Y-Axis to be defined here in AxisData
is Zoom Allowed
: True if zoom in for all vertical graph components is allowed else false.
padding Top
: Padding from the top of the canvas to start of the graph container.
padding Right
: Padding from the end of the canvas to end of the graph container.
bottom Padding
: Padding from the bottom of the canvas to bottom of the graph container.
container Padding End
: Container inside padding end after the last point of the graph.
background Color
: Background color of the Y & X components,
grid Lines
: This enables graph to draw horizontal and vertical grid lines
accessibility Config
: Configs related to accessibility service defined here in AccessibilityConfig