PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE


New WINDEV 23 feature!
  • Configuring the display of projections
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
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 plane.
Example
// 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" + gLink(LineNone))
ListAdd(MySelf, "Solid line" + gLink(LineSolid))
ListAdd(MySelf, "Dash line" + gLink(LineDash))
ListAdd(MySelf, "Dotted line" + gLink(LineDotted))
ListAdd(MySelf, "Dot and Dash line" + gLink(LineDotAndDash))

// By default, a dot-and-dash line is applied to this plane
MySelf = LineDotAndDash

// -----------------------------------------------------
// Code for selecting a row in the combo box

// 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>: Character string (with or without quotes)
Name of chart to use. This name corresponds to:
  • the chart name defined by programming with grCreate.
  • the name of Chart control (found 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:
LineNoneNo line is drawn.
LineSolid
(Default value)
Solid line.
LineDotAndDashLine mixing dots and dashes (.-.-.-).
LineDottedDotted line (........).
LineDashLine with dashes (------).
Remarks

Configuring the display of projections

The projections are visible by default. The display of projections can be configured with grParameter.
You have the ability to:
  • hide the projections.
    grParameter(CHART_My3DScatter, grScatter3DProjection, grProjectionNone)
  • always display the projections.
    grParameter(CHART_My3DScatter, grScatter3DProjection, grProjectionAlwaysVisible)
  • display the projections during the click on the point.
    grParameter(CHART_My3DScatter, grScatter3DProjection, grProjectionClick)
Components
WINDEVReports and Queries wd230grf.dll
Minimum required version
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment