ChartArea.InnerPlotPosition Property

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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.


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
Available since 4.0
Return to top