FormatConditionRuleDataBar.DrawAxisAtMiddle Property
Gets or sets whether to draw the vertical axis between positive and negative bars at the middle of the cell.
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.XtraEditors.v24.1.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
[DefaultValue(false)]
[DXCategory("Behavior")]
[XtraSerializableProperty]
public bool DrawAxisAtMiddle { get; set; }
Property Value
Type | Default | Description |
---|---|---|
Boolean | false | true, to draw the axis at the middle of the cel; false, to draw the axis at the position specified by the proportion of the minimum negative value to the maximum positive value. |
Remarks
By default, the DrawAxisAtMiddle property is set to false, and thus the horizontal position of the vertical axis between positive and negative bars is determined automatically, depending on the proportion of the column’s minimum negative value to the column’s maximum positive value.
To draw the axis at the middle, set the DrawAxisAtMiddle property to true.
DrawAxisAtMiddle = false | DrawAxisAtMiddle = true |
---|---|
If the FormatConditionRuleDataBar.DrawAxis property is set to false, the axis is not displayed.