Edit

Share via


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

Name Value Description
Top 0

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

Right 1

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

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.

Remarks

The Docking enumeration represents the location on the Chart control where a chart element will 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