property Serie.Color as Variant
Defines the color for an individual serie.

TypeDescription
Variant A string expression that defines the color to show the serie. This color property accepts values in various formats: CSS named colors, RGB format (e.g., rgb(red, green, blue)), or hexadecimal format (#RRGGBB). In RGB format, the red, green, and blue values range from 0 to 255, while in hexadecimal format, RR, GG, and BB represent the hexadecimal values of the red, green, and blue channels, respectively. Additionally the color property supports:
  • null, specifies that the index of the current series determines the color to use from the SeriesColors collection

An integer expression that defines the EBN visual appearance. The last 7 bits in the high significant byte of the color to indicates the identifier of the skin being used. Use the Add method to add new skins to the control. If you need to remove the skin appearance from a part of the control you need to reset the last 7 bits in the high significant byte of the color being applied to the background's part. The EBN color is supported only by rectangular-chart Type such as:

  • "column", a column chart or column graph is a chart or graph that presents categorical data with rectangular columns with heights proportional to the values that they represent. A horizontal column chart is called a bar chart. (data requires array of numbers, supports vertical field, scrollable)
  • "waterfall", a waterfall chart is a form of data visualization that helps in understanding the cumulative effect of sequentially introduced positive or negative values. These intermediate values can either be time based or category based. The waterfall chart is also known as a flying bricks chart or Mario chart due to the apparent suspension of columns (bricks) in mid-air. Often in finance, it will be referred to as a bridge. (data requires array of numbers, supports vertical field, scrollable)
  • "rangecolumn", a range column chart displays information as a range of data by plotting two Y-values (low and high) per data point. The vertical axis shows the values, and the horizontal axis shows the categories they belong to; in multiple-series range column charts, values are grouped by categories. (data requires array of array of two-numbers, such as [[from, to]], supports vertical field, scrollable)
By default, the Color property is empty (while empty the SeriesColors property specifies the color of the serie). The Color property specifies the color for an individual serie. If the Color is empty or "null" the color of the serie is determined by the SeriesColors collection. The Index property get the index of the serie (0-based). The SeriesColors property assigns colors to individual values or items within a series based on their index. However, its application varies depending on the chart type. For instance, column, rangeColumn, and radarColumn chart types exhibit distinct colors for items or values within a series when the chart shows only one series. Conversely, if the chart displays multiple series, the SeriesColors property does not affect the values or items within each series. In the last case, the SeriesColors property assigns a color to each visible serie, while the Color property is not specified.

For instance: