isYAxisTapped

fun Offset.isYAxisTapped(tapOffset: Offset, yOffset: Float, left: Float, tapPadding: Float, xAxisWidth: Float): Boolean

Return true if the point is selected

Parameters

tapOffset

Tapped offset

yOffset

in the Y axis

left

left Value

tapPadding

plus or minus padding from the point or clickable padding

xAxisWidth

width of horizontal bar