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
<Chart>.SunburstPullOut (Function)
In french: <Graphe>.SMNPartExcentré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
// Add data
CHART_Chart.SunburstAddData("Europe" + TAB + "France" + TAB + "Montpellier", 320000)
CHART_Chart.SunburstAddData("Europe" + TAB + "France" + TAB + "Paris", 789000)
CHART_Chart.SunburstAddData("Europe" + TAB + "France", 1109000) 
CHART_Chart.SunburstAddData("Europe" + TAB + "Belgium", 900000)
CHART_Chart.SunburstAddData("Asia", 250000)
CHART_Chart.Draw()
// Pull out a section by 20 pixels in "CHART_Chart"
CHART_Chart.SunburstPullOut("Europe" + TAB + "France" + TAB + "Montpellier", 20)
Syntax

Eccentricity on one side Hide the details

<Chart control>.SunburstPullOut(<Section path> , <Offset>)
<Chart control>: Control name
Name of the Chart control to use (in the window, page or report editor).
WEBDEV - Server codePHP In pages, only "Interactive chart" controls are available for Sunburst charts.
<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

<Chart control>.SunburstPullOut(<Offset>)
<Chart control>: Control name
Name of the Chart control to use (in the window, page or report editor).
WEBDEV - Server codePHP In pages, only "Interactive chart" controls are available for Sunburst charts.
<Offset>: Integer
Offset of different sections (in pixels).
Remarks
Any changes made with <Chart>.SunburstPullOut will take effect the next time <Chart>.Draw is called.
Component: wd300grf.dll
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/27/2025

Send a report | Local help