Axis.LabelAutoFitStyle Property

.NET Framework (current version)

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

Gets or sets the allowable label changes that can be made to enable the label to be fit along an axis.

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

public LabelAutoFitStyles LabelAutoFitStyle { get; set; }

The IsLabelAutoFit property must be set to true.

.NET Framework
Available since 4.0
Return to top