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 bar in a Column or Stacked Column chart.
Example
// Changes bar 2 of series 1
grBarColor(CHART_MyColumnChart, 1, 2, RGB(200,150,45))
Syntax
grBarColor(<Chart name> , <Series number> , <Category number> , <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 use.
<Color>: Integer or Integer constant
Bar color. This color can correspond to:
Remarks
  • To modify the color of all bars found in a category, use grCategoryColor.
  • WEBDEV - Browser code The graph is automatically modified. You don't need to use the grDraw function.
Business / UI classification: Neutral code
Component: wd300grf.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