YAxis

fun YAxis(modifier: Modifier, yAxisData: AxisData, scrollOffset: Float = 0.0f, zoomScale: Float = 0.0f, chartData: List<Point> = emptyList(), dataCategoryWidth: Float = 0.0f, yStart: Float = 0.0f, barWidth: Float = 0.0f)

YAxis compose method used for drawing yAxis in any given graph.

Parameters

modifier

: All modifier related property.

yAxisData

: All data needed to draw Yaxis.

scrollOffset

: Offset of delta scrolled position.

zoomScale

: Scale at which zoom transformation being applied.

chartData

: List of data points used in the graph.

dataCategoryWidth

length of horizontal bar

yStart

start position of Y axis pointer

See also

co.yml.charts.axis

Data class to save all params related to Yaxis