isStackedBarTapped

fun Offset.isStackedBarTapped(tapOffset: Offset, barWidth: Float, barHeight: Float, tapPadding: Float): Boolean

Return true if the point is selected

Parameters

tapOffset

Tapped offset

barWidth

width of the bar

barHeight

height of the bar

tapPadding

plus or minus padding from the point or clickable padding