Skip to main content
A newer version of this page is available. .

AxisLabelResolveOverlappingOptions.AllowHide Property

Gets or sets a value indicating whether to hide axis labels when resolving any overlap.

Namespace: DevExpress.Xpf.Charts

Assembly: DevExpress.Xpf.Charts.v19.2.dll

Declaration

public bool AllowHide { get; set; }

Property Value

Type Description
Boolean

true, if hiding axis labels is allowed; otherwise, false.

Remarks

The following table demonstrates this property in action.

AllowHide = false AllowHide = true
AxisLabelResolveOverlapping-Defalt AxisLabelResolveOverlapping-AllowHide_true

Use the AxisLabelResolveOverlappingOptions.AllowStagger, AxisLabelResolveOverlappingOptions.AllowRotate and AllowHide properties to define which algorithms can be used when resolving overlapping axis labels.

Note

when this property is set to true, labels are hidden evenly. You can not prevent hiding specific (e.g., the first or last) labels.

For more information about overlapping axis label resolution, refer to the Axis Labels document.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the AllowHide 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