Help / WLanguage / WLanguage functions / Controls, pages and windows / Chart functions
  • Configuring the display of projections
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WindowsLinuxPHPWEBDEV - Browser code
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Stored procedures
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)
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:
grPlaneXYXY plane.
grPlaneXZXZ plane.
grPlaneYZYZ plane.
<Type of line>: Optional Integer constant
Type of line used to see the projection:
LineDashLine with dashes (------).
LineDotAndDashLine mixing dots and dashes (.-.-.-).
LineDottedDotted line (........).
LineNoneNo line is drawn.
(Default value)
Solid line.

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)
Component: wd290grf.dll
Minimum version required
  • Version 23
This page is also available for…
Click [Add] to post a comment

Last update: 06/21/2023

Send a report | Local help