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