StartAngle: Double;
StartAngle: double;
The StartAngle property determines the angle of rotation for a pie chart.
Default property value is zero.
This example assumes that there is the Chart object of the IChart type. You need a pie chart for this example. If required, the chart can be transformed into a pie one by running 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 at 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: