ChartArea ChartArea ChartArea Interface

Definition

Represents the chart area of a chart. The chart area on a 2-D chart contains the axes, the chart title, the axis titles, and the legend. The chart area on a 3-D chart contains the chart title and the legend; it doesn’t include the plot area (the area within the chart area where the data is plotted). For information about formatting the plot area, see the PlotArea object.

public interface class ChartArea
[System.Runtime.InteropServices.Guid("000208CC-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(2)]
public interface ChartArea
Public Interface ChartArea
Attributes

Remarks

Use the RoundedChartArea property to return the ChartArea object.

Properties

Application Application Application

Returns an Application object that represents the creator of the specified object (you can use this property with an OLE Automation object to return the application of that object).

AutoScaleFont AutoScaleFont AutoScaleFont

True if the text in the object changes font size when the object size changes. The default value is True.

Border Border Border

Returns a Border object that represents the border of the object.

Creator Creator Creator

Returns a 32-bit integer that indicates the application in which this object was created.

Fill Fill Fill

Returns a FillFormat object for a specified shape or a ChartFillFormat object for a specified chart that contains fill formatting properties for the shape or chart.

Font Font Font

Returns a Font object that represents the font of the specified object.

Format Format Format

Returns the ChartFormat object. Read-only.

Height Height Height

The height, in points, of the object.

Interior Interior Interior

Returns an Interior object that represents the interior of the specified object.

Left Left Left

The distance, in points, from the left edge of the object to the left edge of the chart area.

Name Name Name

Returns the name of the object.

Parent Parent Parent

Returns the parent object for the specified object.

RoundedCorners RoundedCorners RoundedCorners

True if the embedded chart has rounded corners. Read/write Boolean.

Shadow Shadow Shadow

True if the font is a shadow font or if the object has a shadow.

Top Top Top

The distance, in points, from the top edge of the object to the top of row 1 (on a worksheet) or the top of the chart area (on a chart).

Width Width Width

The width, in points, of the object.

Methods

Clear() Clear() Clear()

Clears the entire object.

ClearContents() ClearContents() ClearContents()

Clears the data from a chart but leaves the formatting.

ClearFormats() ClearFormats() ClearFormats()

Clears the formatting of the object.

Copy() Copy() Copy()

Copies the object to the Clipboard.

Select() Select() Select()

Selects the object.

Applies to