ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Controls, pages and windows / Chart functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
grSunburstPullOut (Function)
In french: grSMNPartExcentrée
Pulls out a section (or all the sections) in a Sunburst chart.
Note Each part of the graph can be eccentric independently of the others.
Example
// Ajout de données
grSunburstAddData(GRF_Graphe, "Europe" + TAB + "France" + TAB + "Montpellier", 320000)
grSunburstAddData(GRF_Graphe, "Europe" + TAB + "France" + TAB + "Paris", 789000)
grSunburstAddData(GRF_Graphe, "Europe" + TAB + "France", 1109000) 
grSunburstAddData(GRF_Graphe, "Europe" + TAB + "Belgique", 900000)
grSunburstAddData(GRF_Graphe, "Asie", 250000)
grDraw(GRF_Graphe)
// Décalage d'une part du graphe "GRF_Graphe" de 20 pixels
grSunburstPullOut(GRF_Graphe, "Europe" + TAB + "France" + TAB + "Montpellier", 20)
Syntax

Eccentricity on one side Hide the details

grSunburstPullOut(<Chart name> , <Section path> , <Offset>)
<Chart name>: Control name or character string
Name of the chart to be used. This name corresponds to:
  • the name of the chart defined programmatically with grCreate.
  • the name of the Chart control in the window, page 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).

Eccentricity on all sides Hide the details

grSunburstPullOut(<Chart name> , <Offset>)
<Chart name>: Control name or character string
Name of the chart to be used. This name corresponds to:
  • the name of the chart defined programmatically with grCreate.
  • the name of the Chart control in the window, page or report editor.
<Offset>: Integer
Offset of different sections (in pixels).
Remarks
Any changes made with grSunburstPullOut will take effect the next time grDraw is called.
Business / UI classification: Neutral code
Component: wd300grf.dll
Minimum version required
  • Version 21
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/27/2025

Send a report | Local help