convertTouchEventPointToAngle

fun convertTouchEventPointToAngle(width: Float, height: Float, xPos: Float, yPos: Float): Double

Returns the angle for given touch point

Parameters

width

: Width of the chart.

height

: Height of the chart.

xPos

: X offset of the tap point.

yPos

: Y offset of the tap point.