Sets or returns how the legend will be positioned in relation to the chart's plot area. |
public LegendLocation Location{ get; set; } |
Public Property Location() As LegendLocation |
If you set Location to any position except NotDocked, the ChartRegion properties Height, Width, X, and Y will be automatically updated to reflect the new position. If you manually set any of the ChartRegion properties Height, Width, X, or Y, the Location will be set to NotDocked. |