Legend.Docking Property

Definition

Gets or sets a value that determines where the legend is docked.

public:
 property System::Web::UI::DataVisualization::Charting::Docking Docking { System::Web::UI::DataVisualization::Charting::Docking get(); void set(System::Web::UI::DataVisualization::Charting::Docking value); };
[System.ComponentModel.Bindable(true)]
[System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)]
public System.Web.UI.DataVisualization.Charting.Docking Docking { get; set; }
[<System.ComponentModel.Bindable(true)>]
[<System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)>]
member this.Docking : System.Web.UI.DataVisualization.Charting.Docking with get, set
Public Property Docking As Docking

Property Value

A Docking enumeration value that determines where the legend is docked. The default value is Right.

Attributes

Remarks

The Legend can be docked to the top, left, bottom or right of either the entire chart image, or the inside or outside of a chart area. If the IsDockedInsideChartArea property is set to false, docking applies to the entire chart image. If the IsDockedInsideChartArea property is set to true, docking applies to the ChartArea object specified by the DockedToChartArea property

This property has no effect if the Position property is not set to Auto.

Applies to