2.24.3.10 CT_ChartData

Target namespace: http://schemas.microsoft.com/office/drawing/2014/chartex

Referenced by: CT_ChartSpace

A complex type<264> that specifies the data source for the chart object.

Child Elements:

externalData: A CT_ExternalData element that specifies the external data used for the chart.

This element specifies the relationship to the data for this chart. The data can be linked, pointing to a spreadsheet in another file. Alternately, the data can be embedded, contained in a separate part within the same XML package containing the chart. Embedded data is stored as an embedded Spreadsheet object in Office Open XML format.

This element is not used by a spreadsheet application, as the spreadsheet application can maintain its own reference to the data in the spreadsheet by using the CT_Formula element.

data: A CT_Data element<265> that specifies the data used for the chart.

extLst: A CT_ExtensionList element<266> that specifies an extensibility container.

The following W3C XML Schema ([XMLSCHEMA1/2] section 2.1) fragment specifies the contents of this complex type.

 <xsd:complexType name="CT_ChartData">
   <xsd:sequence>
     <xsd:element name="externalData" type="CT_ExternalData" minOccurs="0" maxOccurs="1"/>
     <xsd:element name="data" type="CT_Data" minOccurs="1" maxOccurs="unbounded"/>
     <xsd:element name="extLst" type="CT_ExtensionList" minOccurs="0" maxOccurs="1"/>
   </xsd:sequence>
 </xsd:complexType>

See section 5.22 for the full W3C XML Schema ([XMLSCHEMA1/2] section 2.1).