Modifica

Condividi tramite


ChartGroup Interface

Definition

Represents one or more series plotted in a chart with the same format.

public interface class ChartGroup
[System.Runtime.InteropServices.Guid("86488FB4-9633-4C93-8057-FC1FA7A847AE")]
public interface ChartGroup
type ChartGroup = interface
Public Interface ChartGroup
Attributes

Remarks

A chart contains one or more chart groups, each chart group contains one or more Series objects, and each series contains one or more Points objects. For example, a single chart might contain both a line chart group, containing all the series plotted with the line chart format, and a bar chart group, containing all the series plotted with the bar chart format. The ChartGroup object is a member of the ChartGroups collection.

Use ChartGroups(Index), where index is the chart group index number, to return a single ChartGroup object.

Properties

Application

When used without an object qualifier, this property returns an _Application object that represents the Microsoft Word application. When used with an object qualifier, this property 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). Read-only.

AxisGroup

Returns the type of axis group. Read/write.

BubbleScale

Returns or sets the scale factor for bubbles in the specified chart group. Read/write.

Creator

Returns a 32-bit Integer that indicates the application in which the specified object was created. Read-only.

DoughnutHoleSize

Returns or sets the size of the hole in a doughnut chart group. The hole size is expressed as a percentage of the chart size, between 10 and 90 percent. Read/write.

DownBars

Returns the down bars on a line chart. Applies only to line charts. Read-only.

DropLines

Returns the drop lines for a series on a line chart or area chart. Applies only to line charts or area charts. Read-only.

FirstSliceAngle

Returns or sets the angle of the first pie-chart or doughnut-chart slice, in degrees (clockwise from vertical). Applies only to pie, 3-D pie, and doughnut charts. Read/write.

GapWidth

Bar and Column charts: Returns or sets the space between bar or column clusters, as a percentage of the bar or column width. Pie of Pie and Bar of Pie charts: Returns or sets the space between the primary and secondary sections of the chart. Read/write.

Has3DShading

Returns or sets the value determining if a chart group has three-dimensional shading. Read/write.

HasDropLines

Returns or sets the value stating if the chart has drop lines. Applies only to line and area charts. Read/write.

HasHiLoLines

Returns or sets the value stating if the chart has high-low lines. Applies only to line charts. Read/write.

HasRadarAxisLabels

Returns or sets the value stating if a radar chart has axis labels. Applies only to radar charts. Read/write.

HasSeriesLines

Returns or sets the value stating if a stacked column chart or bar chart has series lines or if a Pie of Pie chart or Bar of Pie chart has connector lines between the two sections. Applies only to 2-D stacked bar, 2-D stacked column, pie of pie, or bar of pie charts. Read/write.

HasUpDownBars

Returns or sets the value stating if a chart has up and down bars. Applies only to line charts. Read/write.

HiLoLines

Returns the high-low lines for a series on a line chart. Applies only to line charts. Read-only.

Index

Returns the index number of the object within the collection of similar objects.

Overlap

Specifies how bars and columns are positioned. Can be a value between – 100 and 100. Applies only to 2-D bar and 2-D column charts. Read/write.

Parent

Returns the parent of the specified object. Read-only.

RadarAxisLabels

Returns the radar axis labels for the specified chart group. Read-only.

SecondPlotSize

Returns or sets the size of the secondary section of either a pie of pie chart or a bar of pie chart, as a percentage of the size of the primary pie. Read/write.

SeriesLines

Returns the series lines for a 2-D stacked bar, 2-D stacked column, pie of pie, or bar of pie chart. Read-only.

ShowNegativeBubbles

Returns or sets the value that determines if negative bubbles are shown for the chart group. Valid only for bubble charts. Read/write.

SizeRepresents

Returns or sets what the bubble size represents on a bubble chart. Read/write.

SplitType

Returns or sets the way the two sections of either a pie of pie chart or a bar of pie chart are split. Read/write.

SplitValue

Returns or sets the threshold value separating the two sections of either a pie of pie chart or a bar of pie chart. Read/write.

SubType

Reserved for internal use.

Type

Reserved for internal use.

UpBars

Returns the up bars on a line chart. Applies only to line charts. Read-only.

VaryByCategories

Returns or sets the value stating if Microsoft Word assigns a different color or pattern to each data marker. The chart must contain only one series. Read/write.

Methods

CategoryCollection(Object)

Returns all the visible categories in the chart group, or the specified visible category.

FullCategoryCollection(Object)

Returns all the categories in the chart group, or the specified category, whether visible or filtered out.

SeriesCollection(Object)

Returns the requested series from within the chart group.

Applies to