|
|
|
|
|
grPiePullOut (Function) In french: grSecteurPartExcentrée 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: Note Each part of the graph can be eccentric independently of the others.
grPiePullOut("MonGraphe", 2, 10)
grPiePullOut(GRF_MonGraphe, 3, 20)
Syntax
Eccentricity on one side Hide the details
grPiePullOut(<Chart name> , <Section subscript> , <Offset>)
<Chart name>: Control name or character string Name of the chart to be used. This name corresponds to:- the name of the chart defined programmatically with grCreate.
- the name of the Chart control in the window, page or report editor.
<Section subscript>: Integer Index of section to pull out. <Offset>: Integer Offset of specified section (in pixels).
Eccentricity on all sides Hide the details
grPiePullOut(<Chart name> , <Offset>)
<Chart name>: Control name or character string Name of the chart to be used. This name corresponds to:- the name of the chart defined programmatically with grCreate.
- the name of the Chart control in the window, page 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.
Semi-circular charts are not available. - Any changes made with grPiePullOut will take effect the next time grDraw is called.
Related Examples:
|
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.
|
|
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.
|
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|