Export (0) Print
Expand All

ChartArea.InnerPlotPosition Property

Gets or sets an ElementPosition object, which defines the inner plot position of a chart area object.

Namespace:  System.Windows.Forms.DataVisualization.Charting
Assembly:  System.Windows.Forms.DataVisualization (in System.Windows.Forms.DataVisualization.dll)

public ElementPosition InnerPlotPosition { get; set; }

Property Value

Type: System.Windows.Forms.DataVisualization.Charting.ElementPosition
An ElementPosition object, which defines the inner plot position of a ChartArea object.

The InnerPlotPosition property defines the rectangle within a chart area element that is used for plotting data; it excludes tick marks, axis labels, and so forth.

The coordinates used for this property (0,0 to 100,100) are related to the ChartArea object, and not to the entire Chart.

The InnerPlotPosition property can be used to align multiple chart areas. However, if one chart area has tick marks and axis labels and another one does not, their axis lines cannot be aligned.

Important noteImportant

This property can also be used to change the size of charts, such as pie or doughnut, without changing the size of the generated chart image.

To change the position of an entire ChartArea object use the Position property instead.

.NET Framework

Supported in: 4.5, 4

.NET Framework Client Profile

Supported in: 4

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

© 2014 Microsoft