Skip to main content

FormatConditionBarOptions.AllowNegativeAxis Property

Gets or sets whether negative data bars are displayed in the direction opposite to the positive data bars.

Namespace: DevExpress.DashboardCommon

Assembly: DevExpress.Dashboard.v22.2.Core.dll

NuGet Packages: DevExpress.Dashboard.Core, DevExpress.Win.Dashboard.Design

Declaration

[DefaultValue(true)]
public bool AllowNegativeAxis { get; set; }

Property Value

Type Default Description
Boolean true

true, if negative data bars are displayed in the direction opposite to the positive data bars; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to AllowNegativeAxis
FormatConditionBar
.BarOptions.AllowNegativeAxis
FormatConditionColorRangeBar
.BarOptions.AllowNegativeAxis
FormatConditionGradientRangeBar
.BarOptions.AllowNegativeAxis

Remarks

If the AllowNegativeAxis property is set to true, negative data bars are displayed in the right-to-left direction. Otherwise, they are displayed in the same direction as positive values, i.e., left-to-right.

The following code snippets (auto-collected from DevExpress Examples) contain references to the AllowNegativeAxis property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also