PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

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.
Versions 23 and later
PHP This function is now available for PHP sites.
New in version 23
PHP This function is now available for PHP sites.
PHP This function is now available for PHP sites.
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).
PHP Only the interactive Chart controls are available.
<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 example presents the different uses of the Chart control.
Different types of charts are presented:
- Pie
- Sunburst
- Line
- Scatter
- Column
- Area
- etc.

The main features presented here are the possibility to customize of charts from the code, as well as to fill the chart from an HFSQL data file, or in the editor.
Component: wd260grf.dll
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment