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

CustomizeXAxisLabelsEventArgs.Staggered Property

Specifies whether the X-axis labels should be staggered.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v20.2.dll

NuGet Packages: DevExpress.Charts, DevExpress.WindowsDesktop.Charts

Declaration

public bool Staggered { get; set; }

Property Value

Type Description
Boolean

true to stagger the X-axis labels; otherwise, false. This value is assigned to the CustomizeXAxisLabelsEventArgs.Staggered property.

Remarks

When a familiar data source (such as the PivotGridControl) is assigned to the ChartControl.DataSource property, the AxisLabel.Staggered property of the X-axis labels is auto-adjusted, and it’s impossible to customize this property at design time.

Use the Staggered property, to set a value for this property at runtime, in the ChartControl.CustomizeXAxisLabels (or, WebChartControl.CustomizeXAxisLabels) event handler.

For more information, see Pivot Charting (Integration with a Pivot Grid Control).

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