ChartArea.InnerPlotPosition 属性

定义

获取或设置 ElementPosition 对象,该对象定义图表区域对象的内部绘图位置。

public:
 property System::Web::UI::DataVisualization::Charting::ElementPosition ^ InnerPlotPosition { System::Web::UI::DataVisualization::Charting::ElementPosition ^ get(); void set(System::Web::UI::DataVisualization::Charting::ElementPosition ^ value); };
[System.ComponentModel.Bindable(true)]
[System.ComponentModel.TypeConverter(typeof(System.Web.UI.DataVisualization.Charting.ElementPositionConverter))]
[System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.InnerProperty)]
public System.Web.UI.DataVisualization.Charting.ElementPosition InnerPlotPosition { get; set; }
[<System.ComponentModel.Bindable(true)>]
[<System.ComponentModel.TypeConverter(typeof(System.Web.UI.DataVisualization.Charting.ElementPositionConverter))>]
[<System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.InnerProperty)>]
member this.InnerPlotPosition : System.Web.UI.DataVisualization.Charting.ElementPosition with get, set
Public Property InnerPlotPosition As ElementPosition

属性值

ElementPosition

一个 ElementPosition 对象,该对象定义 ChartArea 对象的内部绘图位置。

属性

注解

InnerPlotPosition属性定义用于绘制数据的图表区元素内的矩形; 它不包括刻度线和轴标签等。

用于此属性的坐标 (0,0到 100100) 与 ChartArea 对象相关,而不是与整个对象相关 Chart

InnerPlotPosition属性可用于对齐多个图表区。 但是,如果一个图表区有刻度线和轴标签,而另一个图表区不存在,则无法对齐它们的轴线。

重要

此属性还可用于更改图表(例如饼图或圆环图)的大小,而无需更改生成的图表图像的大小。

若要更改整个对象的位置, ChartArea 请改用 Position 属性。

适用于