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
Initializes the color of a specific point in one of the following chart types:
  • Line,
  • Scatter,
  • Bubble chart.
Example
// Change point 2 of series 1
grPointColor(CHART_MyChart, 1, 2, RGB(200,150,45))
grDraw(CHART_MyChart)
Syntax
grPointColor(<Chart name> , <Series number> , <Category number> , <Background color> [, <Border color>])
<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, page or report editor.
Android Only Chart controls are available.
WEBDEV - Browser codePHP Only the interactive Chart controls are available.
<Series number>: Integer
Number of the series to use.
<Category number>: Integer
Number of the category to modify.
<Background color>: Integer or Integer constant
Background color of point. This color can correspond to:
<Border color>: Integer or Integer constant
Color of point border (when the point includes a border). This color can correspond to:
Remarks
To modify the color of all category points, use grCategoryColor.
Business / UI classification: Neutral code
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