2.99 ChartSeries

The ChartSeries element specifies the list of data points for one chart series in RDL 2003/10 and RDL 2005/01, or for one series in a ChartArea in RDL 2008/01, RDL 2010/01, and RDL 2016/01.

In RDL 2008/01, RDL 2010/01, and RDL 2016/01, if there are multiple ChartSeries elements in a ChartArea and if these elements have values for ChartSeries.Type and/or ChartSeries.Subtype that cannot be displayed together in the same ChartArea (such as a column chart and a pie chart), then the values of the ChartSeries.Type and ChartSeries.Subtype of the first ChartSeries element in the ChartSeriesCollection are used to override the series that has an incompatible type or subtype. For example, if the first chart series type and/or subtype is a column chart, a pie chart is considered to be a column chart when it appears in the same ChartArea as the column chart.

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

Parent elements

ChartData

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

Parent elements

ChartSeriesCollection

ChartDerivedSeries

The following are the attributes of the ChartSeries element.

Attributes

ChartSeries.Name

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

Child elements

ChartSeries.DataPoints

ChartSeries.PlotType

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

Child elements

ChartSeries.CategoryAxisName

ChartSeries.ChartAreaName

ChartSeries.ChartDataLabel

ChartSeries.ChartDataPoints

ChartSeries.ChartEmptyPoints

ChartSeries.ChartItemInLegend

ChartSeries.ChartMarker

ChartSeries.ChartSmartLabel

ChartSeries.CustomProperties

ChartSeries.Hidden

ChartSeries.LegendName

ChartSeries.Style

ChartSeries.Subtype

ChartSeries.Type

ChartSeries.ValueAxisName

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

 <xsd:complexType name="ChartSeriesType">
   <xsd:choice minOccurs="1" maxOccurs="unbounded">
     <xsd:element name="DataPoints" type="DataPointsType" />
     <xsd:element name="PlotType" minOccurs="0">
       <xsd:simpleType>
         <xsd:restriction base="xsd:string">
           <xsd:enumeration value="Auto" />
           <xsd:enumeration value="Line" />
         </xsd:restriction>
       </xsd:simpleType>
     </xsd:element>
     <xsd:any namespace="##other" processContents="skip" />
   </xsd:choice>
   <xsd:anyAttribute namespace="##other" processContents="skip" />
 </xsd:complexType>

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

 <xsd:complexType name="ChartSeriesType">
   <xsd:choice minOccurs="0" maxOccurs="unbounded">
     <xsd:element name="Hidden" type="xsd:string" minOccurs="0" />
     <xsd:element name="ChartDataPoints" type="ChartDataPointsType" 
                  minOccurs="0" />
     <xsd:element name="Type" type="xsd:string" minOccurs="0" />
     <xsd:element name="Subtype" type="xsd:string" minOccurs="0" />
     <xsd:element name="Style" type="StyleType" minOccurs="0" />
     <xsd:element name="ChartEmptyPoints" type="ChartEmptyPointsType" 
                  minOccurs="0" />
     <xsd:element name="CustomProperties" type="CustomPropertiesType" 
                  minOccurs="0" />
     <xsd:element name="LegendName" type="xsd:string" minOccurs="0" />
     <xsd:element name="ChartItemInLegend" type="ChartItemInLegendType" 
                  minOccurs="0" />
     <xsd:element name="ChartAreaName" type="xsd:string" minOccurs="0" />
     <xsd:element name="ValueAxisName" type="xsd:string" minOccurs="0" />
     <xsd:element name="CategoryAxisName" type="xsd:string" minOccurs="0" />
     <xsd:element name="ChartSmartLabel" type="ChartSmartLabelType" 
                  minOccurs="0" />
     <xsd:element name="ChartDataLabel" type="ChartDataLabelType" minOccurs="0" />
     <xsd:element name="ChartMarker" type="ChartMarkerType" minOccurs="0" />
     <xsd:any namespace="##other" processContents="skip" />
   </xsd:choice>
   <xsd:attribute name="Name" type="xsd:normalizedString" use="required" />
   <xsd:anyAttribute namespace="##other" processContents="skip" />
 </xsd:complexType>

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

 <xsd:complexType name="ChartSeriesType">
   <xsd:choice minOccurs="0" maxOccurs="unbounded">
     <xsd:element name="Hidden" type="xsd:string" minOccurs="0" />
     <xsd:element name="ChartDataPoints" type="ChartDataPointsType" 
                  minOccurs="0" />
     <xsd:element name="Type" type="xsd:string" minOccurs="0" />
     <xsd:element name="Subtype" type="xsd:string" minOccurs="0" />
     <xsd:element name="Style" type="StyleType" minOccurs="0" />
     <xsd:element name="ChartEmptyPoints" type="ChartEmptyPointsType" 
                  minOccurs="0" />
     <xsd:element name="CustomProperties" type="CustomPropertiesType" 
                  minOccurs="0" />
     <xsd:element name="LegendName" type="xsd:string" minOccurs="0" />
     <xsd:element name="ChartItemInLegend" type="ChartItemInLegendType" 
                  minOccurs="0" />
     <xsd:element name="ChartAreaName" type="xsd:string" minOccurs="0" />
     <xsd:element name="ValueAxisName" type="xsd:string" minOccurs="0" />
     <xsd:element name="CategoryAxisName" type="xsd:string" minOccurs="0" />
     <xsd:element name="ChartSmartLabel" type="ChartSmartLabelType" 
                  minOccurs="0" />
     <xsd:element name="ChartDataLabel" type="ChartDataLabelType" minOccurs="0" />
     <xsd:element name="ChartMarker" type="ChartMarkerType" minOccurs="0" />
     <xsd:any namespace="##other" processContents="lax" />
   </xsd:choice>
   <xsd:attribute name="Name" type="xsd:normalizedString" use="required" />
   <xsd:anyAttribute namespace="##other" processContents="lax" />
 </xsd:complexType>