ChartArea.IsSameFontSizeForAllAxes Property

.NET Framework (current version)
 

Gets or sets a flag that determines if the labels of the relevant chart area axes are of equal size.

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

[BindableAttribute(true)]
public bool IsSameFontSizeForAllAxes { get; set; }

Property Value

Type: System.Boolean

true if all axes that have their IsLabelAutoFit property set to true and will display their labels using the same font size; otherwise, false.

The font size is automatically calculated by the Chart control, with the largest size that fits being used.

This property applies to all chart area axes that have their IsLabelAutoFit property set to true.

.NET Framework
Available since 4.0
Return to top
Show: