.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

Series.InvertIfNegative Property

Gets or sets whether the color (or pattern) of a data point is changed to another (“inverted”) color if the value is negative.

Namespace: DevExpress.Spreadsheet.Charts

Assembly: DevExpress.Spreadsheet.v21.2.Core.dll


bool InvertIfNegative { get; set; }

Property Value

Type Description

true, to invert the color if a value is negative; otherwise, false. ,



The InvertIfNegative property has no effect on the visual appearance of a chart when the document is loaded in the SpreadsheetControl. However, the property can be accessed in code, exported in supported formats and visualized in Microsoft Excel.

See Also