PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

New WINDEV, WEBDEV and WINDEV Mobile 27 feature!
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Sets the starting angle of the first section in the following types of chart:
  • Pie, Semi-circular and Donut.
  • Sunburst.
  • Versions 27 and later
    WINDEV Radial Bar chart.
    New in version 27
    WINDEV Radial Bar chart.
    WINDEV Radial Bar chart.
Example of the starting angle in a Semi-circular chart:
Starting angle for a Semi-circular chart
Linux Caution: A specific configuration is required to use this function in Linux. For more details, see The charts.
Example
// Increase the starting angle of "CHART_MyChart"
grStartAngle(CHART_MyChart, 45)
Syntax
grStartAngle(<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.
Remarks
  • 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.
    • Versions 27 and later
      Radial Bar charts (grRadialBarconstant).
      WEBDEV - Server codeWEBDEV - Browser codeUniversal Windows 10 AppAndroidiPhone/iPadPHP This type of chart is not available.
      New in version 27
      Radial Bar charts (grRadialBarconstant).
      WEBDEV - Server codeWEBDEV - Browser codeUniversal Windows 10 AppAndroidiPhone/iPadPHP This type of chart is not available.
      Radial Bar charts (grRadialBarconstant).
      WEBDEV - Server codeWEBDEV - Browser codeUniversal Windows 10 AppAndroidiPhone/iPadPHP This type of chart is not available.
  • The data defined by grStartAngle will be taken into account during the next call to grDraw.
    WEBDEV - Browser code The data defined by grStartAngle is taken into account immediately.
Business / UI classification: Neutral code
Component: wd270grf.dll
Minimum version required
  • Version 27
This page is also available for…
Comments
Click [Add] to post a comment