PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

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
Retrieves a numeric value from a Sunburst chart.
Versions 24 and later
WEBDEV - Server codeLinux This function is now only available for reports containing a Sunburst chart.
WEBDEV - Server codeWindows This function is now only available for reports containing a Sunburst chart.
New in version 24
WEBDEV - Server codeLinux This function is now only available for reports containing a Sunburst chart.
WEBDEV - Server codeWindows This function is now only available for reports containing a Sunburst chart.
WEBDEV - Server codeLinux This function is now only available for reports containing a Sunburst chart.
WEBDEV - Server codeWindows This function is now only available for reports containing a Sunburst chart.
Versions 25 and later
PHP This function is now available for the WEBDEV sites in PHP.
WEBDEV - Server codeWindows This function is now available for the WEBDEV sites in Windows.
WEBDEV - Server codeLinux This function is now available for WEBDEV sites in Linux.
New in version 25
PHP This function is now available for the WEBDEV sites in PHP.
WEBDEV - Server codeWindows This function is now available for the WEBDEV sites in Windows.
WEBDEV - Server codeLinux This function is now available for WEBDEV sites in Linux.
PHP This function is now available for the WEBDEV sites in PHP.
WEBDEV - Server codeWindows This function is now available for the WEBDEV sites in Windows.
WEBDEV - Server codeLinux This function is now available for WEBDEV sites in Linux.
Example
MyVal is real = grSunburstGetData(CHART_Chart1, "Europe" + TAB + "France" + TAB + "Montpellier")
Syntax
<Result> = grSunburstGetData(<Chart name> , <Section path>)
<Result>: Real
  • Value to retrieve.
  • 0 if the path is invalid or if the section contains no data.
<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.
WEBDEV - Server codePHP In pages, only "Interactive chart" controls are available for Sunburst charts.
<Section path>: Character string
Full path of the section whose value must be retrieved. This parameter has the following format:
"<Name of base level>" + TAB + ["<Name of 1st level>" + TAB + ...
["<Name of last level>" + TAB + [...]]]"<Section name>"
Remarks
  • To retrieve data from a Stock chart, it is recommended to use grStockGetData.
  • To retrieve data from a Surface chart, it is recommended to use grSurfaceGetData.
  • To retrieve data from another type of chart (Pie, Column, Line, etc.), we recommend that you use grGetData.
  • Versions 21 and later
    To retrieve data from a Heatmap chart, it is recommended to use grHMGetData.
    New in version 21
    To retrieve data from a Heatmap chart, it is recommended to use grHMGetData.
    To retrieve data from a Heatmap chart, it is recommended to use grHMGetData.
  • By default, a chart created by grCreate contains no data.
Related Examples:
WD Chart Training (WINDEV): WD Chart
[ + ] This educational example present different uses of the chart control.
The following charts are presented:
- Semi-circular
- Donut
- Pie
- Sunburst
- Line
- Scatter
- 3D Scatter
- Column
- Area
- Bubble
- Radar
- Funnel
- Surface
- Waterfall
- Composite

The main features presented in this example are the ability to customize the charts by programming as well as the method used to fill a chart from a HFSQL file or in the editor.
Business / GUI classification : Neutral code
Component : wd250grf.dll
Minimum version required
  • Version 20
This page is also available for…
Comments
Click [Add] to post a comment