Unit: lxHandleX
The VaryColors property of TXLSXChartPlotGroup.
Syntax
property VaryColors: Boolean read FVaryColors write SetVaryColors
Description
Controls the plot group's vary-colours-by-point setting, which the chart part stores as c:varyColors. Assigning the property writes the element explicitly and records that an explicit value was set, so a later save keeps it. Leaving the property unset keeps the per-chart-type default the writer has always emitted: one for pie-like plots and zero otherwise.
Remarks
VaryColorsSet reports whether an explicit value is present, distinguishing an assigned False from an unset default. The distinction matters when rewriting an imported chart, because a source file that varies its point colours or a pie that does not would otherwise fall back to the per-chart-type default.
See also