Help / WLanguage / WLanguage functions / Controls, pages and windows / Chart functions
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WindowsLinuxPHPWEBDEV - Browser code
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Stored procedures
Adds a new point to display in a 3D Scatter chart.
// Adds a point with the color and shape of series
grScatter3DAddData(CHART_Name3DScatter, 1, 10, 10, 10)
grScatter3DAddData(<Chart name> , <Series number> , <X value> , <Y value> , <Z value> [, <Color> [, <Type>]])
<Chart name>: Control name or character string
Name of the chart to be used. This name can correspond 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 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),
  • a preset color.
  • the ColorUndefined constant (default) to apply the series color.
<Type>: Optional Integer constant
Type of point:
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).
grPointSquarePoint shaped like a square.
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.
The point size is based on the minimum size of chart mark.
Component: wd300grf.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