ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / Developing an application or website / Controls, windows and pages / Controls: Available types / Chart control / Types of charts
  • Overview
  • Characteristics of a Pie, Donut or Semi-circular chart
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
Overview
Several types of charts belong to the same family:
  • Pie chart: this type of chart represents a circle divided into sections.
  • Donut chart: this type of chart represents a circle divided into sections with a hole in the middle.
  • Semi-circular chart: this type of chart represents a semi-circle divided into sections.
The size of each section is proportional to the data found in the series.
A pie chart, a donut chart or a semi-circular chart displays a single series of data.
It is used to highlight a particularly important element.
Characteristics of a Pie, Donut or Semi-circular chart
Pie chart
In this chart:
1. Start angle.
Angle used for the beginning of the first section. This parameter can be defined in the "General" tab of the Chart control description window ("Start angle (in degrees): "). You also have the ability to offset the sections of the chart ("Pulling out" in the "General" tab).
Reports and Queries For a Donut chart, you also have the ability to specify the size of the hole.
2. Chart title.
The characteristics of the chart title can be defined in the "Details" tab of the control description ("Edit chart title").
You can define the chart title, its position and style.
3. Legend.
The characteristics of the legend can be defined in the "Details" tab of the control description ("Edit chart legend").
You can define its position and its style.
4. Category label.
The category labels are displayed in the legend. The category labels can be defined in the "Series" tab of the control description. The source of the category labels can correspond to a table column, a WLanguage array, a list, ...
5. Color of section.
The color of the sections is defined automatically. To modify the color of sections, use grSeriesColor and specify the section number.
6. Raised.
The characteristics of the raised effect can be defined in the "General" tab of the Chart control description window.
7. Caption of section.
The caption of the sections can contain:
  • the value corresponding to the section: "Show values" option in the "Details" tab of the Chart control description window.
  • the labels of categories ("Show labels of categories" option in the "General" tab of the Chart control description window).
  • the percentages ("Show percentages" option in the "General" tab of the Chart control description window).
You can choose whether the labels will be displayed inside or outside the chart sections ("Display labels outside sections" in the "Details" tab of the Chart control description window).
8. Gradient colors.
The characteristics regarding the appearance of the chart are defined in the "Details" tab of the chart description window.
The following options are available:
  • Reduce the jagged effects.
  • Automatic border colors.
  • Gradient colors (with possible horizontal gradient).
  • Realistic light effect (with ability to specify the percentage of bevel)
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 12/13/2022

Send a report | Local help