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
Windows This function is now only available for reports containing a Sunburst chart.
New in version 24
Windows This function is now only available for reports containing a Sunburst chart.
Windows This function is now only available for reports containing a Sunburst chart.
Versions 25 and later
Windows This function is now available for the WEBDEV sites in Windows.
New in version 25
Windows This function is now available for the WEBDEV sites in Windows.
Windows This function is now available for the WEBDEV sites in Windows.
Example
MyVal is real = CHART_Chart1.SunburstGetData("Europe" + TAB + "France" + TAB + "Montpellier")
Syntax
<Result> = <Chart control>.SunburstGetData(<Section path>)
<Result>: Real
  • Value to retrieve.
  • 0 if the path is invalid or if the section contains no data.
<Chart control>: Control name
Name of the Chart control to use (found in the window editor, page editor or report editor).
<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 <Chart>.StockGetData.
  • 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 <Chart>.GetData.
  • Versions 21 and later
    To retrieve data from a Heatmap chart, it is recommended to use <Chart>.HMGetData.
    New in version 21
    To retrieve data from a Heatmap chart, it is recommended to use <Chart>.HMGetData.
    To retrieve data from a Heatmap chart, it is recommended to use <Chart>.HMGetData.
Related Examples:
WD Chart Training (WINDEV): WD Chart
[ + ] This example shows the 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
- Comparative

The main features presented in this example are the customization of charts by programming, as well as the method used to fill a chart from an HFSQL file or in the editor.
Component : wd250grf.dll
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment