CombinedChartData

data class CombinedChartData(val combinedPlotDataList: List<PlotData>, val xAxisData: AxisData = AxisData.Builder().build(), val yAxisData: AxisData = AxisData.Builder().build(), val paddingTop: Dp = 30.dp, val bottomPadding: Dp = 10.dp, val paddingEnd: Dp = 10.dp, val horizontalExtraSpace: Dp = 10.dp, val containerPaddingEnd: Dp = 15.dp, val backgroundColor: Color = Color.White, val tapPadding: Dp = 10.dp, val isZoomAllowed: Boolean = true, val accessibilityConfig: AccessibilityConfig = AccessibilityConfig())

CombinedLineAndBarGraphData data class that contains all params user need to define to draw a bar and line graph.

Parameters

combinedPlotDataList

: Defines list of plot data's to be drawn and order of graph drawing is maintained as per the list order. Distinct plot data's are only allowed.

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

paddingTop

: Padding from the top of the canvas to start 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.,

isZoomAllowed

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

tapPadding

: Tap padding offset for selected point.

horizontalExtraSpace

: Extra padding at the end of the canvas container.

accessibilityConfig

: Configs related to accessibility service defined here in AccessibilityConfig

Constructors

Link copied to clipboard
constructor(combinedPlotDataList: List<PlotData>, xAxisData: AxisData = AxisData.Builder().build(), yAxisData: AxisData = AxisData.Builder().build(), paddingTop: Dp = 30.dp, bottomPadding: Dp = 10.dp, paddingEnd: Dp = 10.dp, horizontalExtraSpace: Dp = 10.dp, containerPaddingEnd: Dp = 15.dp, backgroundColor: Color = Color.White, tapPadding: Dp = 10.dp, isZoomAllowed: Boolean = true, accessibilityConfig: AccessibilityConfig = AccessibilityConfig())

Properties

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