AxisData

constructor(steps: Int, labelData: (Int) -> String, axisPos: Gravity, labelAndAxisLinePadding: Dp, axisOffset: Dp, axisTopPadding: Dp, axisBottomPadding: Dp, axisStartPadding: Dp, axisEndPadding: Dp, axisStepSize: Dp, axisLabelAngle: Float, axisLineColor: Color, axisLabelColor: Color, axisLabelFontSize: TextUnit, axisLineThickness: Dp, indicatorLineWidth: Dp, backgroundColor: Color, typeface: Typeface, axisConfig: AxisConfig, startDrawPadding: Dp, shouldDrawAxisLineTillEnd: Boolean, axisLabelDescription: (String) -> String, dataCategoryOptions: DataCategoryOptions)

Parameters

steps

: No of step for label segmentation

axisBottomPadding

: Axis bottom padding,

labelData

(Int)-> String: lambda method for providing labels, @param Int will be the index given for each level in Axis

axisLabelFontSize

: Font size of axis label data

axisPos

:Gravity of axis

labelAndAxisLinePadding

: Text label padding from Axis

axisOffset

: Drawing offset for axis.

axisLineThickness

: Thickness of yAxis line

axisTopPadding

: Axis top padding

axisStartPadding

: Axis start padding.

indicatorLineWidth

: Indicator width on Y axis line for showing points

axisConfig

: All config related param to toggle the elements while drawing graph

axisStepSize

: Size of each Axis step in Dp

axisLineColor

Color of the Y or X axis

axisLabelColor

Color of the Y or X axis labels

backgroundColor

Background color of the Y or X components

typeface

The type of font style

axisLabelAngle

: Angle for the axis labels

startDrawPadding

: Padding between Axis and first point on the Axis

shouldDrawAxisLineTillEnd

: Boolean to draw axis line till end.

axisLabelDescription

: Description to describe axis value for accessibility service