PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

This content comes from an automatic translation.
  • Overview
  • Characteristics of a multi-level sector graph
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
Overview
The Sunburst chart is a Pie chart containing several levels of hierarchical data.
This type of chart presents two benefits:
  • On one hand, it allows for an organized display of several data.
  • On the other hand, this type of chart is interactive: clicking a section lets you get details about the sub-level of this section.
Versions 25 and later
PHP This type of graph is now available for WEBDEV sites in PHP.
WEBDEV - Server codeWindows This type of graph is now available for WEBDEV sites under Windows.
WEBDEV - Server codeLinux This type of graph is now available for WEBDEV sites under Linux.
New in version 25
PHP This type of graph is now available for WEBDEV sites in PHP.
WEBDEV - Server codeWindows This type of graph is now available for WEBDEV sites under Windows.
WEBDEV - Server codeLinux This type of graph is now available for WEBDEV sites under Linux.
PHP This type of graph is now available for WEBDEV sites in PHP.
WEBDEV - Server codeWindows This type of graph is now available for WEBDEV sites under Windows.
WEBDEV - Server codeLinux This type of graph is now available for WEBDEV sites under Linux.
Characteristics of a multi-level sector graph
In this chart:
1. Chart title.
The characteristics of the graph title are entered in the "Detail" tab of the field description (button "Edit chart title").
You have the ability to define the title of the chart, its position and its style.
2. Size of the hole
A multi-level sector graph can display a hole in its center. The size of the hole can be defined in the "General" tab of the control description.
3. Chart section
At each level, the values displayed represent a section.
The end user can click a section of the chart to see the details of this section: the clicked section becomes the center of the chart and all its sub-levels are represented around it. And so on, ... A click in the center of the chart moves one level up.
The display of the detail is automatic: it is managed by the control.
Remarks:
  • You can display the labels of the sections (category labels) perpendicularly: use grParameter with the grSunburstCaptionPerpendicularSection constant.
    Versions 25 and later
    WEBDEV - Server codePHP Portion labels (category labels) are always displayed perpendicular to the portion. This option is not configurable.
    New in version 25
    WEBDEV - Server codePHP Portion labels (category labels) are always displayed perpendicular to the portion. This option is not configurable.
    WEBDEV - Server codePHP Portion labels (category labels) are always displayed perpendicular to the portion. This option is not configurable.
  • Versions 21 and later
    To define the start angle of the first section, use grSunburstStartAngle.
    New in version 21
    To define the start angle of the first section, use grSunburstStartAngle.
    To define the start angle of the first section, use grSunburstStartAngle.
  • Versions 21 and later
    To pull out a section (or all the sections), use grSunburstPullOut.
    New in version 21
    To pull out a section (or all the sections), use grSunburstPullOut.
    To pull out a section (or all the sections), use grSunburstPullOut.
4. Tooltip
The value of the data hovered by the mouse is displayed in a tooltip.
Other characteristics:
Remark: This type of chart does not accept negative values.
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.
Minimum version required
  • Version 20
This page is also available for…
Comments
Click [Add] to post a comment