Docking Enum

Definition

Specifies where a chart element, such as a legend or title, will be docked on the chart.

public enum class Docking
public enum Docking
type Docking = 
Public Enum Docking
Inheritance

Fields

Bottom 2

Docked to the bottom of either the chart image or a ChartArea object.

Left 3

Docked to the left of either the chart image or a ChartArea object.

Right 1

Docked to the right of either the chart image or a ChartArea object.

Top 0

Docked to the top of either the chart image or a ChartArea object.

Remarks

The Docking enumeration represents the docking location on the Chart control that an chart element should be docked.

Set the IsDockedInsideChartArea property of the relevant chart element to specify whether that element will be docked to the entire chart image or to a ChartArea object. The chart area is specified in the DockedToChartArea property of the chart element.

Applies to