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
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>: 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 Chart control found in the window editor, page editor or report editor.
<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 / GUI classification : Neutral code
Component : wd250grf.dll
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment