Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Defines the Sparklines Class.This class is only available in Office2010.When the object is serialized out as xml, its qualified name is x14:sparklines.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Office2010.Excel.Sparklines
Namespace: DocumentFormat.OpenXml.Office2010.Excel
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
<ChildElementInfoAttribute(GetType(Sparkline), FileFormatVersions.Office2010)> _
<OfficeAvailabilityAttribute(FileFormatVersions.Office2010)> _
Public Class Sparklines _
Inherits OpenXmlCompositeElement
'Usage
Dim instance As Sparklines
[ChildElementInfoAttribute(typeof(Sparkline), FileFormatVersions.Office2010)]
[OfficeAvailabilityAttribute(FileFormatVersions.Office2010)]
public class Sparklines : OpenXmlCompositeElement
Remarks
The following table lists the possible child types:
- Sparkline <x14:sparkline>
2.6.8 CT_Sparklines
Target namespace: https://schemas.microsoft.com/office/spreadsheetml/2010/main
Referenced by: CT_SparklineGroup
A complex type that specifies a list of individual sparklines in a sparkline group. MUST contain fewer than 231 elements.
Child Elements:
sparkline : A CT_Sparkline element that specifies properties for a individual sparkline.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this complex type.
<xsd:complexType name="CT_Sparklines">
<xsd:sequence>
<xsd:element name="sparkline" type="CT_Sparkline" minOccurs="1" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
See section 5.3 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
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.