XAxis

fun XAxis(xAxisData: AxisData, modifier: Modifier, xStart: Float, scrollOffset: Float, zoomScale: Float, chartData: List<Point>, axisStart: Float)

XAxis compose method used for drawing xAxis in any given graph.

Parameters

xAxisData

: All data needed to draw Yaxis

modifier

: All modifier related property.

xStart

: Start position of xAxis Points.

scrollOffset

: Offset of delta scrolled position.

zoomScale

: Scale at which zoom transformation being applied.

chartData

: List of data points used in the graph.

See also

Data class to save all params related to axis