Docking 枚举

定义

指定图表元素(如图例或标题)在图表中的停靠位置。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
继承

字段

Bottom 2

停靠在图表图像或 ChartArea 对象的底部。Docked to the bottom of either the chart image or a ChartArea object.

Left 3

停靠在图表图像或 ChartArea 对象的左侧。Docked to the left of either the chart image or a ChartArea object.

Right 1

停靠在图表图像或 ChartArea 对象的右侧。Docked to the right of either the chart image or a ChartArea object.

Top 0

停靠在图表图像或 ChartArea 对象的顶部。Docked to the top of either the chart image or a ChartArea object.

注解

枚举表示控件上的某个位置Chart , 将在该位置停靠图表元素。 DockingThe Docking enumeration represents the location on the Chart control where a chart element will be docked.

设置相关图表元素的ChartArea 属性,以指定该元素是否将停靠到整个图表图像或对象上。IsDockedInsideChartAreaSet 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. 图表区在图表元素的DockedToChartArea属性中指定。The chart area is specified in the DockedToChartArea property of the chart element.

适用于