PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
grSunburstPullOut (Function)
In French: grSMNPartExcentrée
Pulls out a section (or all the sections) in a Sunburst chart.
Note: Each chart section can be pulled out independently of the other ones.
Example
// Add data
grSunburstAddData(CHART_Chart, "Europe" + TAB + "France" + TAB + "Montpellier", 320000)
grSunburstAddData(CHART_Chart, "Europe" + TAB + "France" + TAB + "Paris", 789000)
grSunburstAddData(CHART_Chart, "Europe" + TAB + "France", 1109000)
grSunburstAddData(CHART_Chart, "Europe" + TAB + "Belgium", 900000)
grSunburstAddData(CHART_Chart, "Asia", 250000)
grDraw(CHART_Chart)
// Pull out a section by 20 pixels in "CHART_MyChart"
grSunburstPullOut(CHART_MyChart, "Europe" + TAB + "France" + TAB + "Montpellier", 20)
Syntax

Pulling out a section Hide the details

grSunburstPullOut(<Chart Name> , <Section Path> , <Offset>)
<Chart Name>: Character string (with or without quotes)
Name of chart to use. This name corresponds to:
  • the chart name defined by programming with grCreate.
  • the name of Chart control found in the window editor, page editor or report editor.
<Section Path>: Character string
Full path of section to pull out in the chart. This parameter has the following format:
"<Name of Base Level>" + TAB + ["<Name of 1st Level>" + TAB + ...
["<Name of Last Level>" + TAB + [...]]]"<Section Name>"
<Offset>: Integer
Offset of specified section (in pixels).

Pulling out all sections Hide the details

grSunburstPullOut(<Chart Name> , <Offset>)
<Chart Name>: Character string (with or without quotes)
Name of chart to use. This name corresponds to:
  • the chart name defined by programming with grCreate.
  • the name of Chart control found in the window editor, page editor or report editor.
<Offset>: Integer
Offset of different sections (in pixels).
Remarks
The modifications performed by grSunburstPullOut will be taken into account during the next call to grDraw.
Components
WINDEVReports and Queries wd230grf.dll
Minimum required version
  • Version 21
This page is also available for…
Comments
Click [Add] to post a comment