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
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
Note: Each chart section can be pulled out independently of the other ones.
Example
// Pull out the third section by 20 pixels in "CHART_MyChart"
CHART_MyChart.PiePullOut(3, 20)
Syntax

Pulling out a section Hide the details

<Chart control>.PiePullOut(<Section subscript> , <Offset>)
<Chart control>: Control name
Name of the Chart control to use (found in the window editor, page editor 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 (found in the window editor, page editor or report editor).
<Offset>: Integer
Offset of different sections (in pixels).
Remarks
  • 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 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.
Pocket Click on Chart Mobile (WINDEV Mobile): Pocket Click on Chart
[ + ] The "Pocket Click on Chart" example proposes a solution for pulling out the sections of a pie chart via a simple user click.

This example includes a control template named "TPLC_PullOutChart". This control template is used to enable the pulling out of a chart section via a simple click.

To make this feature available in another application, all you have to do is import the control template named "TPLC_PullOutChart".
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 : wd250grf.dll
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment