PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
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
<Chart>.DonutHolePercentage (Function)
In french: <Graphe>.DonutPourcentageTrou
Modifies the percentage corresponding to the radius of the hole in a Donut chart.
Example
// The hole will represent 50% of the total radius of the donut
CHART_MyChart.DonutHolePercentage(50)
Syntax
<Chart control>.DonutHolePercentage(<Percentage>)
<Chart control>: Control name
Name of the Chart control to use (found in the window editor, page editor or report editor).
<Percentage>: Integer
Percentage represented by the hole of the donut (included between 0 and 70).
Remarks
  • The setting performed by <Chart>.DonutHolePercentage will be taken into account during the next call to <Chart>.Draw.
  • This function can be used with the Donut charts only.
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.
Component : wd250grf.dll
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment