|
|
|
|
- Drawing parameter
- Miscellaneous
<Chart>.Parameter3DS (Function) In french: <Graphe>.Paramètre3DS Retrieves or modifies a parameter for drawing a chart in 3D Spatial mode. Remarks: - This function must not be used on the Chart controls found in the report editor.
- This function is equivalent to <Chart>.Parameter.
// Modification du type d'animation jouée lors // de l'affichage du champ Graphe "GRF_MonGraphe" // Les barres se construiront progressivement et // le graphe apparaîtra avec un effet de rotation GRF_MonGraphe.Paramètre3DS(gr3DSPropAnimation, 10) Syntax
Retrieving the value of a drawing parameter Hide the details
<Result> = <Chart control>.Parameter3DS(<Drawing parameter>)
<Result>: Integer, real or boolean Value of the drawing parameter. The type depends on the specified drawing parameter (see the Notes). <Chart control>: Control name Name of the Chart control to use found in the window editor. <Drawing parameter>: Integer constant Drawing parameter whose value is requested:
| | gr3DSPropAnimation | Type of animation played when displaying the chart. | gr3DSPropAutoZoom | Automatic zoom of chart. | gr3DSPropColorPlaneX | Color of vertical plane (axis to right or to left). | gr3DSPropColorPlaneY | Color of horizontal plane (axis above or below). | gr3DSPropColorPlaneZ | Color of background plane. | gr3DSPropDistance | Zoom of chart. | gr3DSPropElevation | Rotation angle of chart around the vertical axis (Y axis). | gr3DSPropLegendOverlap | The legend and title overlap the chart. | gr3DSPropLightX | X-coordinate of the light that is lighting the chart. | gr3DSPropLightY | Y coordinate of the light that is lighting the chart. | gr3DSPropRotation | Rotation angle of chart around the horizontal axis (X axis). | gr3DSPropTransparency | Transparency level for the bars or sections of chart. |
Modifying the value of a drawing parameter Hide the details
<Chart control>.Parameter3DS(<Drawing parameter> , <Value>)
<Chart control>: Control name Name of the Chart control to use found in the window editor. <Drawing parameter>: Constant Drawing parameter to modify:
| | gr3DSPropAnimation | Type of animation played when displaying the chart. | gr3DSPropAutoZoom | Automatic zoom of chart. | gr3DSPropColorPlaneX | Color of vertical plane (axis to right or to left). | gr3DSPropColorPlaneY | Color of horizontal plane (axis above or below). | gr3DSPropColorPlaneZ | Color of background plane. | gr3DSPropDistance | Zoom of chart. | gr3DSPropElevation | Rotation angle of chart around the vertical axis (Y axis). | gr3DSPropLegendOverlap | The legend and title overlap the chart. | gr3DSPropLightX | X-coordinate of the light that is lighting the chart. | gr3DSPropLightY | Y coordinate of the light that is lighting the chart. | gr3DSPropRotation | Rotation angle of chart around the horizontal axis (X axis). | gr3DSPropTransparency | Transparency level for the bars or sections of chart. |
<Value>: Integer, real or boolean Value of the drawing parameter. The type depends on the specified drawing parameter (see the Notes). Remarks Drawing parameter The parameters for drawing a 3D spatial chart are as follows:
| | | Constant | Effect | Value of the drawing parameter |
---|
gr3DSPropAnimation | Type of animation played when displaying the chart | Integer The possible values are:- 0: no animation
- 1: zoom in
- 2: rotating effect
- 4: progressive drawing of bars/sections
- 8: progressive display of colors
These values can be added. The default value is 15. | gr3DSPropAutoZoom | Automatic zoom of chart | Boolean True (by default) if the zoom must be automatically calculated, False otherwise. If the zoom is automatically calculated, the value of gr3DSPropDistance constant is ignored. | gr3DSPropColorPlaneX | Color of vertical plane (axis to right or to left) | Integer RGB component of the color (returned by RGB) or a preset color. To avoid drawing this axis, use the Transparent constant. This constant is taken into account by the bar charts and by the line charts only. The default value is LightGray. | gr3DSPropColorPlaneY | Color of horizontal plane (axis above or below) | Integer RGB component of the color (returned by RGB) or a preset color. To avoid drawing this axis, use the Transparent constant. This constant is taken into account by the bar charts and by the line charts only. The default value is LightGray. | gr3DSPropColorPlaneZ | Color of background plane | Integer RGB component of the color (returned by RGB) or a preset color. To avoid drawing this axis, use the Transparent constant. This constant is taken into account by the bar charts and by the line charts only. The default value is LightGray. | gr3DSPropDistance | Chart zoom | Real The possible values are included between 0 and infinity. This constant is taken into account only if the gr3DSPropAutoZoom constant is set to False. The default value is 189. | gr3DSPropElevation | Rotation angle (in degrees) of the chart around the vertical axis (Y axis). | Real The possible values are included between 0 and 360. The value 0 displays a frontal view of chart. The value 90 displays the chart from above. The best rotation angle is automatically calculated by default. | gr3DSPropLegendOverlap | The legend and title overlap the chart. | Boolean True if the legend and the title are superimposed to the chart, False (by default) otherwise. | gr3DSPropLightX | X-coordinate of the light that is lighting the chart. | Real The possible values are included between 0 and infinity. The default value is 78. | gr3DSPropLightY | Y-coordinate of the light that is lighting the chart | Real The possible values are included between 0 and infinity. The default value is 80. | gr3DSPropRotation | Rotation angle (in degrees) of the chart around the horizontal axis (X-axis). | Real The possible values are included between 0 and 360. The value 0 displays a frontal view of chart. The value 90 displays a right view of chart. The best rotation angle is automatically calculated by default. | gr3DSPropTransparency | Transparency level (in percentage) for the bars or chart sections. | Integer The possible values are included between 0 (opaque) and 100 (transparent/invisible). The default value is 27%. |
Miscellaneous No error is returned if <Chart>.Parameter3DS is used on a type of chart other than 3D Spatial. The information is stored and it will be used when the type of the chart is modified (by <Chart>.Type or with the context menu of the chart).
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|