[]
Ƭ ColorScheme: (ColorRule
| string
[])[]
property
0 - The color rule
property
{string[]} 1 - The colors list
▸ getColor(colorScheme
, index
, count?
): string
Get the specified color by colorScheme, index
example
GC.Spread.Sheets.Charts.getColor([GC.Spread.Sheets.Charts.ColorRule.acrossLinear, ['Accent 1', 'Accent 4']], 6, 10); // return 'Accent 1 23'
Name | Type | Description |
---|---|---|
colorScheme |
ColorScheme |
The color scheme. |
index |
number |
The specified index. |
count? |
number |
- |
string
returns the specified color.