Excel.Interfaces.ChartSeriesCollectionLoadOptions interface
Represents a collection of chart series.
Remarks
Properties
$all | Specifying |
axis |
For EACH ITEM in the collection: Specifies the group for the specified series. |
chart |
For EACH ITEM in the collection: Represents the chart type of a series. See |
data |
For EACH ITEM in the collection: Represents a collection of all data labels in the series. |
doughnut |
For EACH ITEM in the collection: Represents the doughnut hole size of a chart series. Only valid on doughnut and doughnut exploded charts. Throws an |
explosion | For EACH ITEM in the collection: Specifies the explosion value for a pie-chart or doughnut-chart slice. Returns 0 (zero) if there's no explosion (the tip of the slice is in the center of the pie). |
filtered | For EACH ITEM in the collection: Specifies if the series is filtered. Not applicable for surface charts. |
first |
For EACH ITEM in the collection: Specifies 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. Can be a value from 0 through 360. |
format | For EACH ITEM in the collection: Represents the formatting of a chart series, which includes fill and line formatting. |
gap |
For EACH ITEM in the collection: Represents the gap width of a chart series. Only valid on bar and column charts, as well as specific classes of line and pie charts. Throws an invalid argument exception on invalid charts. |
has |
For EACH ITEM in the collection: Specifies if the series has data labels. |
invert |
For EACH ITEM in the collection: True if Excel inverts the pattern in the item when it corresponds to a negative number. |
marker |
For EACH ITEM in the collection: Specifies the marker background color of a chart series. |
marker |
For EACH ITEM in the collection: Specifies the marker foreground color of a chart series. |
marker |
For EACH ITEM in the collection: Specifies the marker size of a chart series. The supported size range is 2 to 72. This method returns an InvalidArgument error if it's set with a size outside of the supported range. |
marker |
For EACH ITEM in the collection: Specifies the marker style of a chart series. See |
name | For EACH ITEM in the collection: Specifies the name of a series in a chart. The name's length should not be greater than 255 characters. |
overlap | For EACH ITEM in the collection: 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. |
plot |
For EACH ITEM in the collection: Specifies the plot order of a chart series within the chart group. |
points | For EACH ITEM in the collection: Returns a collection of all points in the series. |
second |
For EACH ITEM in the collection: Specifies 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. Can be a value from 5 to 200. |
show |
For EACH ITEM in the collection: Specifies if the series has a shadow. |
smooth | For EACH ITEM in the collection: Specifies if the series is smooth. Only applicable to line and scatter charts. |
split |
For EACH ITEM in the collection: Specifies the way the two sections of either a pie-of-pie chart or a bar-of-pie chart are split. |
vary |
For EACH ITEM in the collection: True if Excel assigns a different color or pattern to each data marker. The chart must contain only one series. |
Property Details
$all
Specifying $all
for the load options loads all the scalar properties (such as Range.address
) but not the navigational properties (such as Range.format.fill.color
).
$all?: boolean;
Property Value
boolean
axisGroup
For EACH ITEM in the collection: Specifies the group for the specified series.
axisGroup?: boolean;
Property Value
boolean
Remarks
chartType
For EACH ITEM in the collection: Represents the chart type of a series. See Excel.ChartType
for details.
chartType?: boolean;
Property Value
boolean
Remarks
dataLabels
For EACH ITEM in the collection: Represents a collection of all data labels in the series.
dataLabels?: Excel.Interfaces.ChartDataLabelsLoadOptions;
Property Value
Remarks
doughnutHoleSize
For EACH ITEM in the collection: Represents the doughnut hole size of a chart series. Only valid on doughnut and doughnut exploded charts. Throws an InvalidArgument
error on invalid charts.
doughnutHoleSize?: boolean;
Property Value
boolean
Remarks
explosion
For EACH ITEM in the collection: Specifies the explosion value for a pie-chart or doughnut-chart slice. Returns 0 (zero) if there's no explosion (the tip of the slice is in the center of the pie).
explosion?: boolean;
Property Value
boolean
Remarks
filtered
For EACH ITEM in the collection: Specifies if the series is filtered. Not applicable for surface charts.
filtered?: boolean;
Property Value
boolean
Remarks
firstSliceAngle
For EACH ITEM in the collection: Specifies 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. Can be a value from 0 through 360.
firstSliceAngle?: boolean;
Property Value
boolean
Remarks
format
For EACH ITEM in the collection: Represents the formatting of a chart series, which includes fill and line formatting.
format?: Excel.Interfaces.ChartSeriesFormatLoadOptions;
Property Value
Remarks
gapWidth
For EACH ITEM in the collection: Represents the gap width of a chart series. Only valid on bar and column charts, as well as specific classes of line and pie charts. Throws an invalid argument exception on invalid charts.
gapWidth?: boolean;
Property Value
boolean
Remarks
hasDataLabels
For EACH ITEM in the collection: Specifies if the series has data labels.
hasDataLabels?: boolean;
Property Value
boolean
Remarks
invertIfNegative
For EACH ITEM in the collection: True if Excel inverts the pattern in the item when it corresponds to a negative number.
invertIfNegative?: boolean;
Property Value
boolean
Remarks
markerBackgroundColor
For EACH ITEM in the collection: Specifies the marker background color of a chart series.
markerBackgroundColor?: boolean;
Property Value
boolean
Remarks
markerForegroundColor
For EACH ITEM in the collection: Specifies the marker foreground color of a chart series.
markerForegroundColor?: boolean;
Property Value
boolean
Remarks
markerSize
For EACH ITEM in the collection: Specifies the marker size of a chart series. The supported size range is 2 to 72. This method returns an InvalidArgument error if it's set with a size outside of the supported range.
markerSize?: boolean;
Property Value
boolean
Remarks
markerStyle
For EACH ITEM in the collection: Specifies the marker style of a chart series. See Excel.ChartMarkerStyle
for details.
markerStyle?: boolean;
Property Value
boolean
Remarks
name
For EACH ITEM in the collection: Specifies the name of a series in a chart. The name's length should not be greater than 255 characters.
name?: boolean;
Property Value
boolean
Remarks
overlap
For EACH ITEM in the collection: 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.
overlap?: boolean;
Property Value
boolean
Remarks
plotOrder
For EACH ITEM in the collection: Specifies the plot order of a chart series within the chart group.
plotOrder?: boolean;
Property Value
boolean
Remarks
points
For EACH ITEM in the collection: Returns a collection of all points in the series.
points?: Excel.Interfaces.ChartPointsCollectionLoadOptions;
Property Value
Remarks
secondPlotSize
For EACH ITEM in the collection: Specifies 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. Can be a value from 5 to 200.
secondPlotSize?: boolean;
Property Value
boolean
Remarks
showShadow
For EACH ITEM in the collection: Specifies if the series has a shadow.
showShadow?: boolean;
Property Value
boolean
Remarks
smooth
For EACH ITEM in the collection: Specifies if the series is smooth. Only applicable to line and scatter charts.
smooth?: boolean;
Property Value
boolean
Remarks
splitType
For EACH ITEM in the collection: Specifies the way the two sections of either a pie-of-pie chart or a bar-of-pie chart are split.
splitType?: boolean;
Property Value
boolean
Remarks
varyByCategories
For EACH ITEM in the collection: True if Excel assigns a different color or pattern to each data marker. The chart must contain only one series.
varyByCategories?: boolean;
Property Value
boolean
Remarks
Office Add-ins