Docking Enum

Definition

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

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

Produkt Verze
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1