angle(at:)
Returns the angle relative to the plot area center, where the 12 o’clock position is interpreted as zero degrees, increasing clockwise.
Declaration
func angle(at position: CGPoint) -> AngleParameters
- position:
The position at which to obtain the data value. It should be relative to the plot.
Return Value
The angle relative to the plot area center.