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))
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.
Only Chart controls are available.
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:
- 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