ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Chart functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Retrieves a numeric value from a Sunburst chart.
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 (in the window, page 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.
  • To retrieve data from a Heatmap chart, it is recommended to use <Chart>.HMGetData.
Related Examples:
WD Chart Training (WINDEV): WD Chart
[ + ] This example presents the different uses of the Chart control.
Different types of charts are presented:
- Pie
- Sunburst
- Line
- Scatter
- Column
- Area
- etc.

The main features presented here are the possibility to customize of charts from the code, as well as to fill the chart from an HFSQL data file, or in the editor.
Component: wd290grf.dll
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/21/2023

Send a report | Local help