Partager via


LineChartSeries Class

Defines the LineChartSeries Class.When the object is serialized out as xml, its qualified name is c:ser.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Drawing.Charts.LineChartSeries

Namespace:  DocumentFormat.OpenXml.Drawing.Charts
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(ExtensionList))> _
<ChildElementInfoAttribute(GetType(Order))> _
<ChildElementInfoAttribute(GetType(SeriesText))> _
<ChildElementInfoAttribute(GetType(ChartShapeProperties))> _
<ChildElementInfoAttribute(GetType(Marker))> _
<ChildElementInfoAttribute(GetType(PictureOptions))> _
<ChildElementInfoAttribute(GetType(DataPoint))> _
<ChildElementInfoAttribute(GetType(DataLabels))> _
<ChildElementInfoAttribute(GetType(Trendline))> _
<ChildElementInfoAttribute(GetType(ErrorBars))> _
<ChildElementInfoAttribute(GetType(CategoryAxisData))> _
<ChildElementInfoAttribute(GetType(Values))> _
<ChildElementInfoAttribute(GetType(Smooth))> _
<ChildElementInfoAttribute(GetType(Bubble3D))> _
<ChildElementInfoAttribute(GetType(Index))> _
Public Class LineChartSeries _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As LineChartSeries
[ChildElementInfoAttribute(typeof(ExtensionList))]
[ChildElementInfoAttribute(typeof(Order))]
[ChildElementInfoAttribute(typeof(SeriesText))]
[ChildElementInfoAttribute(typeof(ChartShapeProperties))]
[ChildElementInfoAttribute(typeof(Marker))]
[ChildElementInfoAttribute(typeof(PictureOptions))]
[ChildElementInfoAttribute(typeof(DataPoint))]
[ChildElementInfoAttribute(typeof(DataLabels))]
[ChildElementInfoAttribute(typeof(Trendline))]
[ChildElementInfoAttribute(typeof(ErrorBars))]
[ChildElementInfoAttribute(typeof(CategoryAxisData))]
[ChildElementInfoAttribute(typeof(Values))]
[ChildElementInfoAttribute(typeof(Smooth))]
[ChildElementInfoAttribute(typeof(Bubble3D))]
[ChildElementInfoAttribute(typeof(Index))]
public class LineChartSeries : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • Index <c:idx>

  • Order <c:order>

  • SeriesText <c:tx>

  • ChartShapeProperties <c:spPr>

  • Marker <c:marker>

  • PictureOptions <c:pictureOptions>

  • DataPoint <c:dPt>

  • DataLabels <c:dLbls>

  • Trendline <c:trendline>

  • ErrorBars <c:errBars>

  • CategoryAxisData <c:cat>

  • Values <c:val>

  • Smooth <c:smooth>

  • Bubble3D <c:bubble3D>

  • ExtensionList <c:extLst>

[ISO/IEC 29500-1 1st Edition]

21.2.2.171 ser (Line Chart Series)

This element specifies a series on a line chart.

Parent Elements

line3DChart (§21.2.2.96); lineChart (§21.2.2.97); stockChart (§21.2.2.198)

Child Elements

Subclause

cat (Category Axis Data)

§21.2.2.24

dLbls (Data Labels)

§21.2.2.49

dPt (Data Point)

§21.2.2.52

errBars (Error Bars)

§21.2.2.55

extLst (Chart Extensibility)

§21.2.2.64

idx (Index)

§21.2.2.84

marker (Marker)

§21.2.2.106

order (Order)

§21.2.2.128

smooth (Smoothing)

§21.2.2.194

spPr (Shape Properties)

§21.2.2.197

trendline (Trendlines)

§21.2.2.211

tx (Series Text)

§21.2.2.215

val (Values)

§21.2.2.224

[Note: The W3C XML Schema definition of this element’s content model (CT_LineSer) is located in §A.5.1. end note]

© ISO/IEC29500: 2008.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

LineChartSeries Members

DocumentFormat.OpenXml.Drawing.Charts Namespace