value(atAngle:as:)
Returns the data value at the given angle, or nil if the angle does not correspond to a valid data value.
Declaration
func value<P>(atAngle angle: Angle, as: P.Type = P.self) -> P? where P : PlottableParameters
- angle:
The angle, relative to the plot center, where the 12 o’clock position is interpreted as zero degrees, increasing clockwise.
Return Value
The data value at the given position.