Compartir a través de


LineChart Class

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

Inheritance Hierarchy

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

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

Syntax

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

Remarks

The following table lists the possible child types:

  • Grouping <c:grouping>

  • VaryColors <c:varyColors>

  • LineChartSeries <c:ser>

  • DataLabels <c:dLbls>

  • DropLines <c:dropLines>

  • HighLowLines <c:hiLowLines>

  • UpDownBars <c:upDownBars>

  • ShowMarker <c:marker>

  • Smooth <c:smooth>

  • AxisId <c:axId>

  • ExtensionList <c:extLst>

[ISO/IEC 29500-1 1st Edition]

21.2.2.97 lineChart (Line Charts)

This element contains the 2-D line 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

grouping (Grouping)

§21.2.2.76

hiLowLines (High Low Lines)

§21.2.2.80

marker (Show Marker)

§21.2.2.105

ser (Line Chart Series)

§21.2.2.171

smooth (Smoothing)

§21.2.2.194

upDownBars (Up/Down Bars)

§21.2.2.218

varyColors (Vary Colors by Point)

§21.2.2.227

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

LineChart Members

DocumentFormat.OpenXml.Drawing.Charts Namespace