PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

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
Adds a new point to display in a 3D Scatter chart.
Example
// Adds a point with the color and shape of series
grScatter3DAddData(CHART_Name3DScatter, 1, 10, 10, 10)
Syntax
grScatter3DAddData(<Chart name> , <Series number> , <X value> , <Y value> , <Z value> [, <Color> [, <Type>]])
<Chart name>: Character string (with or without quotes)
Name of chart to use. This name can correspond to:
  • the chart name defined by programming with grCreate.
  • the name of the Chart control (in the window editor).
<Series number>: Integer
Number of the series into which a value will be added. If the specified series does not exist, the chart designer creates as many series as necessary in order to get a consistent matrix. All the created series are initialized to 0.
<X value>: Real
Horizontal coordinate (X coordinate) of the point to add.
<Y value>: Real
Vertical coordinate (Y coordinate) of the point to add.
<Z value>: Real
Coordinate in altitude of the point to add.
<Color>: Integer or Integer constant
Point color. This color can correspond to:
  • an RGB color (returned by RGB),
  • an HSL color (returned by HSL),
  • an preset color.
  • the ColorUndefined constant (default value) to apply the series color.
<Type>: Optional Integer constant
Type of point:
grPointSquarePoint shaped like a square.
grPointCirclePoint shaped like a circle.
grPointCrossPoint shaped like a cross.
grPointCubePoint shaped like a cube (3D).
grPointDiamondPoint shaped like a diamond.
grPointPyramidPoint shaped like a pyramid (3D).
grPointSpherePoint shaped like a sphere (3D).
grPointTrianglePoint shaped like a triangle.

If this parameter is not specified, the type of point corresponds to the type of point defined for the series.
Remarks
The point size is based on the minimum size of chart mark.
Component : wd250grf.dll
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment