StockChart Class

Stock Charts.When the object is serialized out as xml, its qualified name is c:stockChart.

Inheritance Hierarchy

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

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

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(LineChartSeries))> _
<ChildElementInfoAttribute(GetType(DataLabels))> _
<ChildElementInfoAttribute(GetType(DropLines))> _
<ChildElementInfoAttribute(GetType(HighLowLines))> _
<ChildElementInfoAttribute(GetType(UpDownBars))> _
<ChildElementInfoAttribute(GetType(AxisId))> _
<ChildElementInfoAttribute(GetType(ExtensionList))> _
<ChildElementInfoAttribute(GetType(VaryColors))> _
Public Class StockChart _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As StockChart
[ChildElementInfoAttribute(typeof(LineChartSeries))]
[ChildElementInfoAttribute(typeof(DataLabels))]
[ChildElementInfoAttribute(typeof(DropLines))]
[ChildElementInfoAttribute(typeof(HighLowLines))]
[ChildElementInfoAttribute(typeof(UpDownBars))]
[ChildElementInfoAttribute(typeof(AxisId))]
[ChildElementInfoAttribute(typeof(ExtensionList))]
[ChildElementInfoAttribute(typeof(VaryColors))]
public class StockChart : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • LineChartSeries <c:ser>

  • DataLabels <c:dLbls>

  • DropLines <c:dropLines>

  • HighLowLines <c:hiLowLines>

  • UpDownBars <c:upDownBars>

  • AxisId <c:axId>

  • ExtensionList <c:extLst>

  • VaryColors <c:varyColors>

[ISO/IEC 29500-1 1st Edition]

21.2.2.198 stockChart (Stock Charts)

This element contains the collection of stock chart series.

Parent Elements

plotArea (§21.2.2.145)

Child Elements

Subclause

axId (Axis ID)

§21.2.2.9

dLbls (Data Labels)

§21.2.2.49

dropLines (Drop Lines)

§21.2.2.53

extLst (Chart Extensibility)

§21.2.2.64

hiLowLines (High Low Lines)

§21.2.2.80

ser (Line Chart Series)

§21.2.2.171

upDownBars (Up/Down Bars)

§21.2.2.218

[Note: The W3C XML Schema definition of this element’s content model (CT_StockChart) 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

StockChart Members

DocumentFormat.OpenXml.Drawing.Charts Namespace