2.98 ChartData

The ChartData element defines the structure and segmentation of data into multiple series. In RDL 2003/10 and RDL 2005/01, the ChartData element MUST contain at least one ChartSeries element. In RDL 2008/01, RDL 2010/01, and RDL 2016/01, the ChartData element MUST contain one ChartSeriesCollection element.

The following are the parent elements of the ChartData element.

Parent elements

Chart

The following are the child elements of the ChartData element in RDL 2003/10 and RDL 2005/01.

Child elements

ChartData.ChartSeries

The following are the child elements of the ChartData element in RDL 2008/01, RDL 2010/01, and RDL 2016/01.

Child elements

ChartData.ChartSeriesCollection

ChartData.ChartDerivedSeriesCollection

The following is the XML Schema definition of the ChartData element in RDL 2003/10 and RDL 2005/01.

 <xsd:complexType name="ChartDataType">
   <xsd:sequence>
     <xsd:element name="ChartSeries" type="ChartSeriesType" 
                  maxOccurs="unbounded" />
   </xsd:sequence>
   <xsd:anyAttribute namespace="##other" processContents="skip" />
 </xsd:complexType>

The following is the XML Schema definition of the ChartData element in RDL 2008/01.

 <xsd:complexType name="ChartDataType">
   <xsd:choice maxOccurs="unbounded">
     <xsd:element name="ChartSeriesCollection" type="ChartSeriesCollectionType" 
                  minOccurs="1" maxOccurs="1" />
     <xsd:element name="ChartDerivedSeriesCollection" 
                  type="ChartDerivedSeriesCollectionType" minOccurs="0" />
   </xsd:choice>
   <xsd:anyAttribute namespace="##other" processContents="skip" />
 </xsd:complexType>

The following is the XML Schema definition of the ChartData element in RDL 2010/01 and RDL 2016/01.

 <xsd:complexType name="ChartDataType">
   <xsd:choice maxOccurs="unbounded">
     <xsd:element name="ChartSeriesCollection" type="ChartSeriesCollectionType" 
                  minOccurs="1" maxOccurs="1" />
     <xsd:element name="ChartDerivedSeriesCollection" 
                  type="ChartDerivedSeriesCollectionType" minOccurs="0" />
   </xsd:choice>
   <xsd:anyAttribute namespace="##other" processContents="lax" />
 </xsd:complexType>