次の方法で共有


ChartFormat Class

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

Inheritance Hierarchy

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

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

Syntax

'宣言
<ChildElementInfoAttribute(GetType(PivotArea))> _
Public Class ChartFormat _
    Inherits OpenXmlCompositeElement
'使用
Dim instance As ChartFormat
[ChildElementInfoAttribute(typeof(PivotArea))]
public class ChartFormat : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • PivotArea <x:pivotArea>

[ISO/IEC 29500-1 初版]

18.10.1.12 chartFormat (PivotChart Format)

Represents the format defined in the PivotChart that is associated with this PivotTable.

[Example:

<sh:pivotTableDefinition xmlns:sh="…" name="PivotTable1" cacheId="0"
applyNumberFormats="0" applyBorderFormats="0" applyFontFormats="0"
applyPatternFormats="0" applyAlignmentFormats="0" applyWidthHeightFormats="1"
dataCaption="Values" updatedVersion="3" minRefreshableVersion="3"
showCalcMbrs="0" useAutoFormatting="1" colGrandTotals="0" itemPrintTitles="1"
createdVersion="3" indent="0" outline="1" outlineData="1"
multipleFieldFilters="0" chartFormat="1" fieldListSortAscending="1">

end example]

Parent Elements

chartFormats (§18.10.1.13)

Child Elements

Subclause

pivotArea (Pivot Area)

§18.3.1.68

Attributes

Description

chart (Chart Index)

Specifies the index of the chart part to which the formatting applies. For more information see the DrawingML specification for more information on the chart part.

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

format (Pivot Format Id)

Specifies the index of the pivot format that is currently in use. This index corresponds to a dxf element in the Styles part. For more information see the Styles section (§18.8).

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

series (Series Format)

Specifies a boolean value that indicates whether format applies to a series.

A value of 1 or true indicates this format applies to a series.

A value of 0 or false indicates this format applies to a data point.

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

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

© ISO/IEC29500: 2008. 上記の引用はマイクロソフト (またはその代理) によって英語から日本語に翻訳されたものであり、ISO はこうした翻訳に対する責任を一切負いません。

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

ChartFormat Members

DocumentFormat.OpenXml.Spreadsheet Namespace