StartAngle: Double;
StartAngle: double;
The StartAngle property determines an rotation angle for a pie chart.
The property is set to zero by default.
This example assumes that there is the Chart object of the IChart type. The chart must be a pie chart. If required, the chart can be transformed into a pie chart by executing the command: "Chart.Type := 5 As ChartType".
Add a link to the Chart system assembly.
Sub Angle;
Var
Chart: IChart;
Begin
Chart.CircleInfo.StartAngle := 30;
End Sub Angle;
After executing the example the axis of the pie chart is rotated 30 degrees.
The requirements and result of the Fore.NET example execution match with those in the Fore example.
Imports Prognoz.Platform.Interop.Chart;
…
Public Shared Sub Main(Params: StartParams);
Var
Chart: IChart;
Begin
Chart.CircleInfo.StartAngle:= 30;
End Sub;
See also: