PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

  • 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 plan.
Example
// Projects in dots the points of series 1 on XY plane
CHART_My3DScatter.Scatter3DProjection(1, 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 control
 
// Applies the type of projection for the XY plane
CHART_Chart.Scatter3DProjection(1, grPlaneXY, MySelf)
CHART_Chart.Draw()
Syntax
<Chart control>.Scatter3DProjection(<Series number> , <Projection plane> [, <Type of line>])
<Chart control>: Control name
Name of the Chart control to use (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 <Chart>.Parameter.
You have the ability to:
  • hide the projections.
    CHART_My3DScatter.Parameter(grProjectionScatter3D, grProjectionNone)
  • always display the projections.
    CHART_MyScatter3D.Parameter(grProjectionScatter3D, grProjectionAlwaysVisible)
  • display the projections during the click on the point.
    CHART_My3DScatter.Parameter(grProjectionScatter3D,grProjectionClick)
Component : wd240grf.dll
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment