Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.v24.2.Core.dll

NuGet Package: DevExpress.Spreadsheet.Core

#Declaration

bool InvertIfNegative { get; set; }

#Property Value

Type Description
Boolean

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

#Remarks

Note

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