PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • Sunburst chart
  • Adding data into a chart
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
Adds a data to 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
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()
Syntax
<Chart control>.SunburstAddData(<Section path> , <Value>)
<Chart control>: Control name
Name of the Chart control to use (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 that will be added into the chart. This parameter has the following format: This path defines the position of the data by specifying the its different hierarchical levels.
For example, if the path contains "Europe + TAB + France + TAB + Montpellier", the data will be added on the third level of the chart below the "Europe\France\Montpellier" categories.
<Value>: Real
Value of the added part. This value must not be negative.
Remarks

Sunburst chart

  • If a level does not contain its own value, its value will be calculated by adding the values of sub-levels.
  • If the sum of data for the sub-levels of a specific level exceeds the value of this level, an error will be returned when drawing the chart.
  • The color of the sub-levels is calculated automatically: this color has the same shade as the color of the main level but paler.

Adding data into a chart

<Chart>.AddData is used to add data into a chart (pie, column, ...)
Depending on the type of chart, specific functions can also be used to add data:
Reminder: To add a value to a chart data, use <Chart>.IncreaseData.
Business / GUI classification : Neutral code
Component : wd250grf.dll
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment