public Double PointToAngle(Int32 x,
Int32 y)
Remarks
The PointToAngle function returns the angle from the XY point parameter to the circle center. It currently works with Circled ellipses.
The formula used to calculate the Angle is:
result:=ArcTan(Abs(y-YCenter)/Abs(x-XCenter));
Angles are returned in radians from 0 to 2*PI.
See Also
Circular Class | Circular Members | Steema.TeeChart.Styles Namespace