Freigeben über


ChartFormats-Klasse

PivotChart Formats.When the object is serialized out as xml, its qualified name is x:chartFormats.

Vererbungshierarchie

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Spreadsheet.ChartFormats

Namespace:  DocumentFormat.OpenXml.Spreadsheet
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(ChartFormat))> _
Public Class ChartFormats _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As ChartFormats
[ChildElementInfoAttribute(typeof(ChartFormat))]
public class ChartFormats : OpenXmlCompositeElement

Hinweise

The following table lists the possible child types:

  • ChartFormat <x:chartFormat>

[ISO/IEC 29500-1 1. Ausgabe]

18.10.1.13 chartFormats (PivotChart Formats)

Represents the collection of formats applied to PivotChart.

[Example:

<sh:chartFormats count="4">
<sh:chartFormat chart="0" format="0" series="1">
<sh:pivotArea type="data" outline="0">
<sh:references count="3">
<sh:reference field="4294967294" count="1" selected="0">
<sh:x v="0"/>
</sh:reference>
        <sh:reference field="14" count="1" selected="0">
<sh:x v="0"/>
</sh:reference>
        <sh:reference field="15" count="1" selected="0">
<sh:x v="2"/>
</sh:reference>
</sh:references>
</sh:pivotArea>
</sh:chartFormat>
  <sh:chartFormat chart="0" format="1" series="1">
<sh:pivotArea type="data" outline="0">
<sh:references count="3">
<sh:reference field="4294967294" count="1" selected="0">
<sh:x v="0"/>
</sh:reference>
        <sh:reference field="14" count="1" selected="0">
<sh:x v="0"/>
</sh:reference>
        <sh:reference field="15" count="1" selected="0">
<sh:x v="3"/>
</sh:reference>
</sh:references>
</sh:pivotArea>
</sh:chartFormat>
  <sh:chartFormat chart="0" format="2" series="1">
<sh:pivotArea type="data" outline="0">
<sh:references count="3">
<sh:reference field="4294967294" count="1" selected="0">
<sh:x v="1"/>
</sh:reference>
        <sh:reference field="14" count="1" selected="0">
<sh:x v="0"/>
</sh:reference>
        <sh:reference field="15" count="1" selected="0">
<sh:x v="2"/>
</sh:reference>
</sh:references>
</sh:pivotArea>
</sh:chartFormat>
  <sh:chartFormat chart="0" format="3" series="1">
<sh:pivotArea type="data" outline="0">
<sh:references count="3">
<sh:reference field="4294967294" count="1" selected="0">
<sh:x v="1"/>
</sh:reference>
        <sh:reference field="14" count="1" selected="0">
<sh:x v="0"/>
</sh:reference>
        <sh:reference field="15" count="1" selected="0">
<sh:x v="3"/>
</sh:reference>
</sh:references>
</sh:pivotArea>
</sh:chartFormat>
</sh:chartFormats>

end example]

Parent Elements

pivotTableDefinition (§18.10.1.73)

Child Elements

Subclause

chartFormat (PivotChart Format)

§18.10.1.12

Attributes

Description

count (Format Count)

Specifies the number of formats in the collection.

The possible values for this attribute are defined by the W3C XML Schema unsignedInt datatype.

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

© ISO/IEC29500: 2008. Die oben aufgeführten Textauszüge wurden von Microsoft (und/oder den Microsoft-Vendoren) von Englisch nach Deutsch übersetzt, und im Rahmen von ISO wird keinerlei Verantwortung für diese Übersetzungen übernommen.

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.

Siehe auch

Referenz

ChartFormats-Member

DocumentFormat.OpenXml.Spreadsheet-Namespace