|
|
|
|
- Configuring the display of projections
grScatter3DProjection (Function) In french: grNuage3DProjection Indicates whether the points found in a series of a 3D Scatter chart must be be projected on a given plane. In this case, a straight line will link the point to its projection on the corresponding plan.
// Projects in dots the points of series 1 on XY plane grScatter3DProjection(CHART_My3DScatter, grPlaneXY, LineDotted)
// Initialize the Combo Box control // Fills the list of line types ListAdd(MySelf, "No line" + gStoredValue(LineNone)) ListAdd(MySelf, "Solid line" + gStoredValue(LineSolid)) ListAdd(MySelf, "Dashed line" + gStoredValue(LineDash)) ListAdd(MySelf, "Dotted line" + gStoredValue(LineDotted)) ListAdd(MySelf, "Dot-and-dash line" + gStoredValue(LineDotAndDash)) // By default, a dot-and-dash line is applied to this plane MySelf = LineDotAndDash // ----------------------------------------------------- // Code for selecting a row in the Combo Box control // Applies the type of projection for the XY plane grScatter3DProjection(CHART_Chart, 1, grPlaneXY, MySelf) grDraw(CHART_Chart)
Syntax
grScatter3DProjection(<Chart name> , <Series number> , <Projection plane> [, <Type of line>])
<Chart name>: Control name or character string Name of the chart to be used. This name corresponds to:- the chart name defined through programming with grCreate.
- the name of the Chart control (in the window editor).
<Series number>: Integer Number of the series to use. <Projection plane>: Integer constant Plane onto which the points will be projected: | | grPlaneXY | XY plane. | grPlaneXZ | XZ plane. | grPlaneYZ | YZ plane. |
<Type of line>: Optional Integer constant Type of line used to see the projection:
| | LineDash | Line with dashes (------). | LineDotAndDash | Line mixing dots and dashes (.-.-.-). | LineDotted | Dotted line (........). | LineNone | No line is drawn. | LineSolid (Default value) | Solid line. |
Remarks Configuring the display of projections The projections are visible by default. The display of projections can be configured with grParameter. You can: - hide the projections.
grParameter(CHART_My3DScatter, grProjectionScatter3D, grProjectionNone)
- always display the projections.
grParameter(CHART_My3DScatter, grProjectionScatter3D, grProjectionAlwaysVisible)
- display the projections during the click on the point.
grParameter(CHART_My3DScatter, grProjectionScatter3D, grProjectionClick)
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|