PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Overview
  • Characteristics of a Sunburst 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
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.
Characteristics of a Sunburst chart
In this chart:
1. Chart title.
The characteristics of chart title are typed in the "Details" tab of control description ("Edit the chart title" button).
You have the ability to define the title of the chart, its position and its style.
2. Size of the hole
A Sunburst type chart can display a hole in its middle. 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.
Notes:
  • You can display the labels of the sections (category labels) perpendicularly: use grParameter with the grSunburstCaptionPerpendicularSection constant.
  • 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:
Note: 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 required version
  • Version 20
Comments
Click [Add] to post a comment