Series Series Series Interface

Definition

Represents a series in a chart. The Series object is a member of the SeriesCollection collection.

public interface class Series
[System.Runtime.InteropServices.Guid("0002086B-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(2)]
public interface Series
Public Interface Series
Attributes

Properties

Application Application Application

Returns an Application object that represents the Microsoft Excel application. Read-only.

ApplyPictToEnd ApplyPictToEnd ApplyPictToEnd

True if a picture is applied to the end of the point or all points in the series. Read/write Boolean.

ApplyPictToFront ApplyPictToFront ApplyPictToFront

True if a picture is applied to the front of the point or all points in the series. Read/write Boolean.

ApplyPictToSides ApplyPictToSides ApplyPictToSides

True if a picture is applied to the sides of the point or all points in the series. Read/write Boolean.

AxisGroup AxisGroup AxisGroup

Returns the group for the specified chart group or series. Read/write XlAxisGroup.

BarShape BarShape BarShape

Returns or sets the shape used with the 3-D bar or column chart. Read/write XlBarShape.

Border Border Border

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

BubbleSizes BubbleSizes BubbleSizes

Returns or sets a string that refers to the worksheet cells containing the size data for the bubble chart. Applies only to bubble charts. Read/write Object.

ChartType ChartType ChartType

Returns or sets the chart type. Read/write XlChartType.

Creator Creator Creator

Returns a 32-bit integer that indicates the application in which this object was created. If the object was created in Microsoft Excel, this property returns the string XCEL, which is equivalent to the hexadecimal number 5843454C. Read-only XlCreator.

ErrorBars ErrorBars ErrorBars

Returns an ErrorBars object that represents the error bars for the series. Read-only.

Explosion Explosion Explosion

Returns or sets 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). Read/write Integer.

Fill Fill Fill

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

Format Format Format

Returns the ChartFormat object. Read-only.

Formula Formula Formula

Returns or sets the object's formula in A1-style notation. Read/write String.

FormulaLocal FormulaLocal FormulaLocal

Returns or sets the formula for the object using A1-style references in the language of the user. Read/write String

FormulaR1C1 FormulaR1C1 FormulaR1C1

Returns or sets the formula for the object using R1C1-style notation. Read/write String.

FormulaR1C1Local FormulaR1C1Local FormulaR1C1Local

Returns or sets the formula for the object, using R1C1-style notation in the language of the user. Read/write String.

Has3DEffect Has3DEffect Has3DEffect

True if the series has a three-dimensional appearance. Applies only to bubble charts. Read/write Boolean.

HasDataLabels HasDataLabels HasDataLabels

True if the series has data labels. Read/write Boolean.

HasErrorBars HasErrorBars HasErrorBars

True if the series has error bars. This property isn’t available for 3-D charts. Read/write Boolean.

HasLeaderLines HasLeaderLines HasLeaderLines

True if the series has leader lines. Read/write Boolean.

Interior Interior Interior

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

InvertColor InvertColor InvertColor

Gets or sets the fill color for negative data points in a series.

InvertColorIndex InvertColorIndex InvertColorIndex

Gets or sets the fill color for negative data points in a series.

InvertIfNegative InvertIfNegative InvertIfNegative

True if Microsoft Excel inverts the pattern in the item when it corresponds to a negative number. Read/write Boolean.

IsFiltered IsFiltered IsFiltered

This setting controls whether the series has been filtered out from the chart. The default value is False. Boolean (bool in C#) Read/Write.

LeaderLines LeaderLines LeaderLines

Returns a LeaderLines object that represents the leader lines for the series. Read-only.

MarkerBackgroundColor MarkerBackgroundColor MarkerBackgroundColor

Returns or sets the marker background color as an RGB value. Applies only to line, scatter, and radar charts. Read/write Integer.

MarkerBackgroundColorIndex MarkerBackgroundColorIndex MarkerBackgroundColorIndex

Returns or sets the marker background color. Applies only to line, scatter, and radar charts. Read/write XlColorIndex.

MarkerForegroundColor MarkerForegroundColor MarkerForegroundColor

Returns or sets the foreground color of the marker as an RGB value. Applies only to line, scatter, and radar charts. Read/write Integer.

MarkerForegroundColorIndex MarkerForegroundColorIndex MarkerForegroundColorIndex

Returns or sets the marker foreground color. Applies only to line, scatter, and radar charts. Read/write XlColorIndex.

MarkerSize MarkerSize MarkerSize

Returns or sets the data-marker size in points. Read/write Integer.

MarkerStyle MarkerStyle MarkerStyle

Returns or sets the marker style for a point or series in a line chart, scatter chart, or radar chart. Read/write XlMarkerStyle.

Name Name Name

Returns or sets the name of the object. Read/write String.

Parent Parent Parent

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

PictureType PictureType PictureType

Returns or sets the way pictures are displayed on a column or bar picture chart. Read/write XlChartPictureType.

PictureUnit PictureUnit PictureUnit

Returns or sets the unit for each picture on the chart if the PictureType property is set to xlScale (if not, this property is ignored). Read/write Integer.

PictureUnit2 PictureUnit2 PictureUnit2

Returns or sets the unit for each picture on the chart if the PictureType property is set to xlStackScale (if not, this property is ignored). Read/Write.

PlotColorIndex PlotColorIndex PlotColorIndex

Gets an index value that is used internally to associate series formatting with chart elements.

PlotOrder PlotOrder PlotOrder

Returns or sets the plot order for the selected series within the chart group. Read/write Integer.

Shadow Shadow Shadow

True if the font is a shadow font or if the object has a shadow. Read/write Boolean.

Smooth Smooth Smooth

True if curve smoothing is turned on for the line chart or scatter chart. Applies only to line and scatter charts. Read/write.

Type Type Type

Returns or sets the chart or series type. Read/write Integer.

Values Values Values

Returns or sets a collection of all the values in the series. This can be a range on a worksheet or an array of constant values, but not a combination of both. Read/write Object.

XValues XValues XValues

Returns or sets an array of x values for a chart series. The XValues property can be set to a range on a worksheet or to an array of values, but it cannot be a combination of both. Read/write Object.

Methods

_ApplyDataLabels(XlDataLabelsType, Object, Object, Object) _ApplyDataLabels(XlDataLabelsType, Object, Object, Object) _ApplyDataLabels(XlDataLabelsType, Object, Object, Object)

Reserved for internal use.

ApplyCustomType(XlChartType) ApplyCustomType(XlChartType) ApplyCustomType(XlChartType)

Applies a standard or custom chart type to a series.

ApplyDataLabels(XlDataLabelsType, Object, Object, Object, Object, Object, Object, Object, Object, Object) ApplyDataLabels(XlDataLabelsType, Object, Object, Object, Object, Object, Object, Object, Object, Object) ApplyDataLabels(XlDataLabelsType, Object, Object, Object, Object, Object, Object, Object, Object, Object)

Applies data labels to a point, a series, or all the series in a chart.

ClearFormats() ClearFormats() ClearFormats()

Clears the formatting of the object.

Copy() Copy() Copy()

Copies the object to the Clipboard. Copies a picture of the point or series to the Clipboard.

DataLabels(Object) DataLabels(Object) DataLabels(Object)

Returns an object that represents either a single data label (a DataLabel object) or a collection of all the data labels for the series (a DataLabels collection).

Delete() Delete() Delete()

Deletes the object.

ErrorBar(XlErrorBarDirection, XlErrorBarInclude, XlErrorBarType, Object, Object) ErrorBar(XlErrorBarDirection, XlErrorBarInclude, XlErrorBarType, Object, Object) ErrorBar(XlErrorBarDirection, XlErrorBarInclude, XlErrorBarType, Object, Object)

Applies error bars to the series. Object.

Paste() Paste() Paste()

Pastes a picture from the Clipboard as the marker on the selected series. This method can be used on column, bar, line, or radar charts, and it sets the MarkerStyle property to xlMarkerStylePicture.

Points(Object) Points(Object) Points(Object)

Returns an object that represents a single point (a Point object) or a collection of all the points (a Points collection) in the series. Read-only.

Select() Select() Select()

Selects the object.

Trendlines(Object) Trendlines(Object) Trendlines(Object)

Returns an object that represents a single trendline (a Trendline object) or a collection of all the trendlines (a Trendlines collection) for the series.

Applies to