Class Tee.Palette
Contains an array of colors to be used as series data fill color
Defined in: <..\..\src\teechart.js>.
Constructor Attributes | Constructor Name and Description |
---|---|
Tee.Palette(colors)
|
Method Attributes | Method Name and Description |
---|---|
get(index)
|
Class Detail
Tee.Palette(colors)
- Parameters:
- {Color[]} colors
- The array of colors to build the palette.
Method Detail
{String}
get(index)
- Parameters:
- {Integer} index
- The position inside colors array (circular, if index is greater than colors length).
- Returns:
- {String} Returns the index'th color in colors array (mod length if index is greater than number of colors).