Home | Sign in | English EN

WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WindowsLinuxPHPWEBDEV - Browser code
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Stored procedures
Pulls out a section (or all sections) in a chart. This function can be used on Pie charts, on Donut charts and on Semi-circular charts.
Example of pulled-out section in a chart:
Pulled-out section
Remark: Each chart section can be pulled out independently of the other ones.
// Pull out the third section by 20 pixels in "CHART_MyChart"
CHART_MyChart.PiePullOut(3, 20)

Pulling out a section Hide the details

<Chart control>.PiePullOut(<Section subscript> , <Offset>)
<Chart control>: Control name
Name of the Chart control to use (present in the window, page or report editor).
<Section subscript>: Integer
Subscript of section to pull out.
<Offset>: Integer
Offset of specified section (in pixels).

Pulling out all sections Hide the details

<Chart control>.PiePullOut(<Offset>)
<Chart control>: Control name
Name of the Chart control to use (present in the window, page or report editor).
<Offset>: Integer
Offset of different sections (in pixels).
  • Pulling out a chart section has no effect on the charts other than the Pie charts, the Donut charts and the Semi-circular charts.
  • The modifications performed by <Chart>.PiePullOut will be taken into account during the next call to <Chart>.Draw.
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.
WM Click on Chart Cross-platform examples (WINDEV Mobile): WM Click on Chart
[ + ] The "WM Click on Chart" example proposes a solution for pulling out the sections of a Pie chart via a simple click.
This example includes a control template named "TPLC_PullOutChart". This control template is used to pull out the chart sections via a simple click.
To include this feature in another application, all you have to do is import the "TPLC_PullOutChart" template.
Component: wd270grf.dll
Minimum version required
  • Version 23
This page is also available for…
Click [Add] to post a comment