ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Chart functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
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
CHART_NameScatter3D.Scatter3DAddData(1, 10, 10, 10)
Syntax
<Chart control>.Scatter3DAddData(<Series number> , <X value> , <Y value> , <Z value> [, <Color> [, <Type>]])
<Chart control>: Control name
Name of the Chart control to use (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.
Remarks
The point size is based on the minimum size of chart mark.
Component: wd290grf.dll
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/21/2023

Send a report | Local help