Help / WLanguage / WLanguage functions / Controls, pages and windows / Chart functions
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WindowsLinuxPHPWEBDEV - Browser code
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Stored procedures
From version 27, this function is kept for compatibility (it will still be supported in the next version). It is recommended to use grStartAngle.
Indicates the start angle of first section in a Pie chart, Semi-circular chart or Donut chart.
Example of starting angle in a chart:
Start angle
Linux Caution: A specific configuration is required to use this function in Linux. For more details, see The charts.
// Increase the starting angle of "CHART_MyChart"
grStartAngle(CHART_MyChart, 45)
grPieStartAngle(<Chart name> , <Angle>)
<Chart name>: Control name or character string
Name of the chart to be used. This name corresponds to:
  • the chart name defined through programming with grCreate.
  • the name of the Chart control in the window, page or report editor.
Android Only Chart controls are available.
WEBDEV - Browser codePHP Only the interactive Chart controls are available.
<Angle>: Integer
Starting angle of the first section (expressed in degrees, clockwise from the top point).
By default, the starting angle in a Pie chart, Semi-circular chart or Donut chart is 0.
  • Only the following charts allow defining the starting angle of the first section:
    • Pie charts (grPie constant).
    • Semi-circular charts (grSemiCircular constant).
      Universal Windows 10 AppAndroid This type of chart is not available.
    • Donut charts (grDonut constant).
      Universal Windows 10 App This type of chart is not available.
  • The data defined by grPieStartAngle will be taken into account during the next call to grDraw.
    WEBDEV - Browser code The data defined by grPieStartAngle is taken into account immediately.
Business / UI classification: Neutral code
Component: wd300grf.dll
Minimum version required
  • Version 9
This page is also available for…
Click [Add] to post a comment

Last update: 06/21/2023

Send a report | Local help