ChartSection object
Sets the chart color scheme for data points in the Chart section.
Standard—default color scheme used for charts created in Release 8.4 and later.
Legacy—color scheme used for charts in Release 8.3 and earlier
Custom—color scheme defined by the user
This property corresponds to the UseLegacyColors (Property) in Release 11.1.1.3 and earlier. If this property is set to bqChartColorSchemeLegacy for new charts, the colors in the Legacy color scheme (in Release 8.3 and earlier) are used. The value of UseLegacyColors property is mapped to ColorScheme property as follows:
Table 223. ColorScheme (Property) to UseLegacyColors (Property)
| ColorScheme | UseLegacyColors |
|---|---|
| bqChartColorSchemeStandard | false |
| bqChartColorSchemeLegacy | true |
| bqChartColorSchemeCustom | false |
Read-write, BqChartColorScheme
The BqChartColorScheme constant group (read only) consists of the following values:
bqChartColorSchemeCustom = 3
bqChartColorSchemeLegacy = 2
bqChartColorSchemeStandard = 1
This example shows how to write the standard color scheme to the Console:
Console.Write(ActiveDocument.Sections["Chart"].ColorScheme = bqChartColorSchemeStandard)