Legend::MaximumAutoSize Property

.NET Framework (current version)
 
System_CAPS_noteNote

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

Gets or sets the maximum size of the legend, measured as a percentage of the chart area. This value is used by the automatic layout algorithm.

Namespace:   System.Web.UI.DataVisualization.Charting
Assembly:  System.Web.DataVisualization (in System.Web.DataVisualization.dll)

public:
property float MaximumAutoSize {
	float get();
	void set(float value);
}

Property Value

Type: System::Single

A float value that represents the maximum size of the legend.

If the legend is docked to the left or right of the chart area, this property determines the maximum width of the legend, which is measured as a percentage of the chart area. If the legend is docked to the top or bottom, this property determines the maximum height of the legend, which is also measured as a percentage.

.NET Framework
Available since 4.0
Return to top
Show: