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
Modifies the shape of point for a specific category or value found in a Line, Area, Scatter and Radar chart.
Example
// Transforms the point (category) 2 of series 1 into circle
grPointType(CHART_MyChart, 1, 2, grPointCircle)
 
// Transforms the point (category) 3 of all series into square
grPointType(CHART_MyChart, 3, grPointSquare)
Syntax

Modifying the shape of point for a category (for all series) Hide the details

grPointType(<Chart name> , <Category number> , <Type>)
<Chart name>: Control name or character string
Name of the chart to be used. This name corresponds to:
  • the chart name defined through programming with grCreate.
  • the name of Chart control (found in the window editor or in the report editor).
Android Only Chart controls are available.
PHP Only the interactive Chart controls are available.
<Category number>: Integer
Index of category to modify.
<Type>: Integer constant
New type of point for the category:
grNotDrawnPoint not drawn.
grPointCirclePoint shaped like a circle.
grPointCrossPoint shaped like a cross.
grPointDiamondPoint shaped like a diamond.
grPointSquarePoint shaped like a square.
grPointTrianglePoint shaped like a triangle.

Modifying the shape of a specific point Hide the details

grPointType(<Chart name> , <Series number> , <Category number> , <Type>)
<Chart name>: Control name or character string
Name of the chart to be used. This name corresponds to:
  • the chart name defined through programming with grCreate.
  • the name of Chart control (found in the window editor or in the report editor).
Android Only Chart controls are available.
PHP Only the interactive Chart controls are available.
<Series number>: Integer
Number of the series where the type of point will be modified.
<Category number>: Integer
Index of category to modify.
<Type>: Integer constant
New type of point for the category:
grNotDrawnPoint not drawn.
grPointCirclePoint shaped like a circle.
grPointCrossPoint shaped like a cross.
grPointDiamondPoint shaped like a diamond.
grPointSquarePoint shaped like a square.
grPointTrianglePoint shaped like a triangle.
Remarks
To change the type of all points found in a series, we recommend that you use grSeriesPointType.
Component: wd300grf.dll
Minimum version required
  • Version 22
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/21/2023

Send a report | Local help