[]
        
(Showing Draft Content)

GC.Spread.Sheets.Charts

Namespace: Charts

Spread.Sheets.Charts

Table of contents

Enumerations

Classes

Interfaces

Type aliases

Functions

Type aliases

ColorScheme

Ƭ ColorScheme: (ColorRule | string[])[]

property 0 - The color rule

property {string[]} 1 - The colors list

Functions

getColor

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'

Parameters

Name Type Description
colorScheme ColorScheme The color scheme.
index number The specified index.
count? number -

Returns

string

returns the specified color.