Chart.AlignDataPointsByAxisLabel Method (PointSortOrder)

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Aligns data points using their axis labels. All series in the chart are aligned, using the specified sort order.

Namespace:   System.Windows.Forms.DataVisualization.Charting
Assembly:  System.Windows.Forms.DataVisualization (in System.Windows.Forms.DataVisualization.dll)

public void AlignDataPointsByAxisLabel(
	PointSortOrder sortingOrder


Type: System.Windows.Forms.DataVisualization.Charting.PointSortOrder

A PointSortOrder object that indicates if ascending or descending sort order is used on axis labels, which in turn determines the order by which points that previously occupied the same axis space are displayed.

.NET Framework
Available since 4.0
Return to top