|
|
|
|
|
grRotation (Function) In french: grRotation Used to: - Turn a chart around one of its axes in order to better view the data.
- Find out the rotation angle of a chart on one of its axes.
The chart used can be: - a Surface chart,
- a Pyramid chart.
// Performs a slight rotation of 35 degrees // to highlight the raised effect // on a Surface chart grRotation(CHART_Surface, grAxisX, -35) Syntax <Chart name>: Control name or character string Name of the chart to be used. This chart can be: - a Surface chart,
- a Pyramid chart.
This name corresponds to: - the chart name defined through programming with grCreate.
- the name of Chart control (found in the window editor or in the report editor).
<Axis>: Integer constant Rotation axis: | | grAxisX | Rotation on the X axis. | grAxisY | Rotation on the Y axis. | grAxisZ | Rotation on the Z axis. |
<Angle>: Real Rotation angle in degrees.
Finding out the rotation angle of a chart Hide the details
<Result> = grRotation(<Chart name> , <Rotation axis>)
<Result>: Real Rotation angle in degrees. <Chart name>: Control name or character string Name of the chart to be used. This chart can be: - a Surface chart,
- a Pyramid chart.
This name corresponds to: - the chart name defined through programming with grCreate.
- the name of Chart control (found in the window editor or in the report editor).
<Rotation axis>: Integer constant Rotation axis: | | grAxisX | Rotation on the X axis. | grAxisY | Rotation on the Y axis. | grAxisZ | Rotation on the Z axis. |
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.
|
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|