Initializes the color of a specific bar in a Column or Stacked Column chart.
// 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.
<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.
The graph is automatically modified. You don't need to use the grDraw function.
Business / UI classification: Neutral code