[]
        
(Showing Draft Content)

GC.Spread.Sheets.Charts.ColorSchemes

类: ColorSchemes

Sheets.Charts.ColorSchemes

Table of contents

构造方法

属性

构造方法

constructor

new ColorSchemes()

代表内置图表配色方案集合。

属性

colorfulPalette1

Static colorfulPalette1: ColorScheme

获取colorfulPalette1样式。

returns

代码示例

var chart = sheet.charts.add('Chart1', GC.Spread.Sheets.Charts.ChartType.columnClustered, 250, 20, 600, 400, "A1:D4", GC.Spread.Sheets.Charts.RowCol.rows, GC.Spread.Sheets.Charts.ColorSchemes.colorfulPalette1);

colorfulPalette2

Static colorfulPalette2: ColorScheme

获取colorfulPalette2样式。

returns

代码示例

var chart = sheet.charts.add('Chart1', GC.Spread.Sheets.Charts.ChartType.columnClustered, 250, 20, 600, 400, "A1:D4", GC.Spread.Sheets.Charts.RowCol.rows, GC.Spread.Sheets.Charts.ColorSchemes.colorfulPalette2);

colorfulPalette3

Static colorfulPalette3: ColorScheme

获取colorfulPalette3样式。

returns

代码示例

var chart = sheet.charts.add('Chart1', GC.Spread.Sheets.Charts.ChartType.columnClustered, 250, 20, 600, 400, "A1:D4", GC.Spread.Sheets.Charts.RowCol.rows, GC.Spread.Sheets.Charts.ColorSchemes.colorfulPalette3);

colorfulPalette4

Static colorfulPalette4: ColorScheme

获取colorfulPalette4样式。

returns

代码示例

var chart = sheet.charts.add('Chart1', GC.Spread.Sheets.Charts.ChartType.columnClustered, 250, 20, 600, 400, "A1:D4", GC.Spread.Sheets.Charts.RowCol.rows, GC.Spread.Sheets.Charts.ColorSchemes.colorfulPalette4);

monochromaticPalette1

Static monochromaticPalette1: ColorScheme

获取 monochromaticPalette1 样式。

returns

代码示例

var chart = sheet.charts.add('Chart1', GC.Spread.Sheets.Charts.ChartType.columnClustered, 250, 20, 600, 400, "A1:D4", GC.Spread.Sheets.Charts.RowCol.rows, GC.Spread.Sheets.Charts.ColorSchemes.monochromaticPalette1);

monochromaticPalette10

Static monochromaticPalette10: ColorScheme

获取单色 Palette 10 样式。

returns

代码示例

var chart = sheet.charts.add('Chart1', GC.Spread.Sheets.Charts.ChartType.columnClustered, 250, 20, 600, 400, "A1:D4", GC.Spread.Sheets.Charts.RowCol.rows, GC.Spread.Sheets.Charts.ColorSchemes.monochromaticPalette10);

monochromaticPalette11

Static monochromaticPalette11: ColorScheme

获取 monochromaticPalette11 样式。

returns

代码示例

var chart = sheet.charts.add('Chart1', GC.Spread.Sheets.Charts.ChartType.columnClustered, 250, 20, 600, 400, "A1:D4", GC.Spread.Sheets.Charts.RowCol.rows, GC.Spread.Sheets.Charts.ColorSchemes.monochromaticPalette11);

monochromaticPalette12

Static monochromaticPalette12: ColorScheme

获取单色 Palette 12 样式。

returns

代码示例

var chart = sheet.charts.add('Chart1', GC.Spread.Sheets.Charts.ChartType.columnClustered, 250, 20, 600, 400, "A1:D4", GC.Spread.Sheets.Charts.RowCol.rows, GC.Spread.Sheets.Charts.ColorSchemes.monochromaticPalette12);

monochromaticPalette13

Static monochromaticPalette13: ColorScheme

获取 monochromaticPalette13 样式。

returns

代码示例

var chart = sheet.charts.add('Chart1', GC.Spread.Sheets.Charts.ChartType.columnClustered, 250, 20, 600, 400, "A1:D4", GC.Spread.Sheets.Charts.RowCol.rows, GC.Spread.Sheets.Charts.ColorSchemes.monochromaticPalette13);

monochromaticPalette2

Static monochromaticPalette2: ColorScheme

获取 monochromaticPalette2 样式。

returns

代码示例

var chart = sheet.charts.add('Chart1', GC.Spread.Sheets.Charts.ChartType.columnClustered, 250, 20, 600, 400, "A1:D4", GC.Spread.Sheets.Charts.RowCol.rows, GC.Spread.Sheets.Charts.ColorSchemes.monochromaticPalette2);

monochromaticPalette3

Static monochromaticPalette3: ColorScheme

获取 monochromaticPalette3 样式。

returns

代码示例

var chart = sheet.charts.add('Chart1', GC.Spread.Sheets.Charts.ChartType.columnClustered, 250, 20, 600, 400, "A1:D4", GC.Spread.Sheets.Charts.RowCol.rows, GC.Spread.Sheets.Charts.ColorSchemes.monochromaticPalette3);

monochromaticPalette4

Static monochromaticPalette4: ColorScheme

获取单色Palette4样式。

returns

代码示例

var chart = sheet.charts.add('Chart1', GC.Spread.Sheets.Charts.ChartType.columnClustered, 250, 20, 600, 400, "A1:D4", GC.Spread.Sheets.Charts.RowCol.rows, GC.Spread.Sheets.Charts.ColorSchemes.monochromaticPalette4);

monochromaticPalette5

Static monochromaticPalette5: ColorScheme

获取单色 Palette 5 样式。

returns

代码示例

var chart = sheet.charts.add('Chart1', GC.Spread.Sheets.Charts.ChartType.columnClustered, 250, 20, 600, 400, "A1:D4", GC.Spread.Sheets.Charts.RowCol.rows, GC.Spread.Sheets.Charts.ColorSchemes.monochromaticPalette5);

monochromaticPalette6

Static monochromaticPalette6: ColorScheme

获取 monochromaticPalette6 样式。

returns

代码示例

var chart = sheet.charts.add('Chart1', GC.Spread.Sheets.Charts.ChartType.columnClustered, 250, 20, 600, 400, "A1:D4", GC.Spread.Sheets.Charts.RowCol.rows, GC.Spread.Sheets.Charts.ColorSchemes.monochromaticPalette6);

monochromaticPalette7

Static monochromaticPalette7: ColorScheme

获取单色Palette7样式。

returns

代码示例

var chart = sheet.charts.add('Chart1', GC.Spread.Sheets.Charts.ChartType.columnClustered, 250, 20, 600, 400, "A1:D4", GC.Spread.Sheets.Charts.RowCol.rows, GC.Spread.Sheets.Charts.ColorSchemes.monochromaticPalette7);

monochromaticPalette8

Static monochromaticPalette8: ColorScheme

获取单色Palette8样式。

returns

代码示例

var chart = sheet.charts.add('Chart1', GC.Spread.Sheets.Charts.ChartType.columnClustered, 250, 20, 600, 400, "A1:D4", GC.Spread.Sheets.Charts.RowCol.rows, GC.Spread.Sheets.Charts.ColorSchemes.monochromaticPalette8);

monochromaticPalette9

Static monochromaticPalette9: ColorScheme

获取单色Palette9样式。

returns

代码示例

var chart = sheet.charts.add('Chart1', GC.Spread.Sheets.Charts.ChartType.columnClustered, 250, 20, 600, 400, "A1:D4", GC.Spread.Sheets.Charts.RowCol.rows, GC.Spread.Sheets.Charts.ColorSchemes.monochromaticPalette9);