UseLegacyColors (Property)

As of Release 11.1.2, the ColorScheme (Property) should be used instead of “UseLegacyColors” property. The UseLegacyColors (Property) as of Release 11.1.2 is hidden and retained for compatibility with the scripts created in previous versions of application

.The value of UseLegacyColors property is mapped to ColorScheme property as follows

Table 225. 

ColorSchemeUseLegacyColors
bqChartColorSchemeStandardfalse
bqChartColorSchemeLegacytrue
bqChartColorSchemeCustomfalse

Applies To:

ChartSection

Description:

For new Charts, use the colors in the Legacy Color Palette (in Release 8.3 and earlier) by setting the UseLegacyColors to true. If this property is false, new Chart use the default colors in the Default Color Palette.

If you modify Charts (for example, you drill down or change the chart type), and select the “Use legacy colors for data points” option, old, version 8.4 colors are used. Otherwise, new colors are used.

Action:

Read-write, Boolean

Example:

This example sets the UseLegacyColors property to true.

ActiveDocument.Sections["Chart"].UseLegacyColors=true