BarChartSeries Class

Bar Chart Series.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.BarChartSeries

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

Syntax

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

Remarks

The following table lists the possible child types:

  • Index <c:idx>

  • Order <c:order>

  • SeriesText <c:tx>

  • ChartShapeProperties <c:spPr>

  • InvertIfNegative <c:invertIfNegative>

  • PictureOptions <c:pictureOptions>

  • DataPoint <c:dPt>

  • DataLabels <c:dLbls>

  • Trendline <c:trendline>

  • ErrorBars <c:errBars>

  • CategoryAxisData <c:cat>

  • Values <c:val>

  • Shape <c:shape>

  • Bubble3D <c:bubble3D>

  • Smooth <c:smooth>

  • BarSerExtensionList <c:extLst>

[ISO/IEC 29500-1 1st Edition]

21.2.2.170 ser (Bar Chart Series)

This element specifies a series on a bar chart.

Parent Elements

bar3DChart (§21.2.2.15); barChart (§21.2.2.16)

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

invertIfNegative (Invert if Negative)

§21.2.2.86

order (Order)

§21.2.2.128

pictureOptions (Picture Options)

§21.2.2.138

shape (Shape)

§21.2.2.177

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_BarSer) 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

BarChartSeries Members

DocumentFormat.OpenXml.Drawing.Charts Namespace