2.88 Chart
The Chart element specifies a collection of ChartArea elements to be drawn as a single data visualization data region. In RDL 2008/01, RDL 2010/01, and RDL 2016/01, the Chart element MUST contain exactly one Chart.ChartCategoryHierarchy element and exactly one Chart.ChartSeriesHierarchy element.
The following are the parent elements of the Chart element.
Parent elements |
---|
The following are additional parent elements of the Chart element in RDL 2008/01, RDL 2010/01, and RDL 2016/01.
Parent elements |
---|
The following are the attributes and child elements of the Chart element.
Attributes |
---|
Child elements |
---|
The following are additional child elements of the Chart element in RDL 2003/10 and RDL 2005/01.
Child elements |
---|
The following are additional child elements of the Chart element in RDL 2008/01, RDL 2010/01, and RDL 2016/01.
Child elements |
---|
Chart.ChartCategoryHierarchy |
Chart.ChartSeriesHierarchy |
The following are additional child elements of the Chart element in RDL 2008/01.
Child elements |
---|
The following are additional child elements of the Chart element in RDL 2010/01, and RDL 2016/01.
Child elements |
---|
Applies to RDL 2011/01
Child elements |
---|
The following is the XML Schema definition of the Chart element in RDL 2003/10 and RDL 2005/01.
-
<xsd:complexType name="ChartType"> <xsd:choice minOccurs="0" maxOccurs="unbounded"> <xsd:element name="Type" minOccurs="0"> <xsd:simpleType> <xsd:restriction base="xsd:string"> <xsd:enumeration value="Column" /> <xsd:enumeration value="Bar" /> <xsd:enumeration value="Line" /> <xsd:enumeration value="Pie" /> <xsd:enumeration value="Scatter" /> <xsd:enumeration value="Bubble" /> <xsd:enumeration value="Area" /> <xsd:enumeration value="Doughnut" /> <xsd:enumeration value="Stock" /> </xsd:restriction> </xsd:simpleType> </xsd:element> <xsd:element name="Subtype" minOccurs="0"> <xsd:simpleType> <xsd:restriction base="xsd:string"> <xsd:enumeration value="Stacked" /> <xsd:enumeration value="PercentStacked" /> <xsd:enumeration value="Plain" /> <xsd:enumeration value="Smooth" /> <xsd:enumeration value="Exploded" /> <xsd:enumeration value="Line" /> <xsd:enumeration value="SmoothLine" /> <xsd:enumeration value="HighLowClose" /> <xsd:enumeration value="OpenHighLowClose" /> <xsd:enumeration value="Candlestick" /> </xsd:restriction> </xsd:simpleType> </xsd:element> <xsd:element name="Style" type="StyleType" minOccurs="0" /> <xsd:element name="Action" type="ActionType" minOccurs="0" /> <xsd:element name="Top" type="SizeType" minOccurs="0" /> <xsd:element name="Left" type="SizeType" minOccurs="0" /> <xsd:element name="Height" type="SizeType" minOccurs="0" /> <xsd:element name="Width" type="SizeType" minOccurs="0" /> <xsd:element name="ZIndex" type="xsd:unsignedInt" minOccurs="0" /> <xsd:element name="Visibility" type="VisibilityType" minOccurs="0" /> <xsd:element name="ToolTip" type="xsd:string" minOccurs="0" /> <xsd:element name="Label" type="xsd:string" minOccurs="0" /> <xsd:element name="LinkToChild" type="xsd:string" minOccurs="0" /> <xsd:element name="Bookmark" type="xsd:string" minOccurs="0" /> <xsd:element name="CustomProperties" type="CustomPropertiesType" minOccurs="0" /> <xsd:element name="KeepTogether" type="xsd:boolean" minOccurs="0" /> <xsd:element name="NoRows" type="xsd:string" minOccurs="0" /> <xsd:element name="DataSetName" type="xsd:string" minOccurs="0" /> <xsd:element name="PageBreakAtStart" type="xsd:boolean" minOccurs="0" /> <xsd:element name="PageBreakAtEnd" type="xsd:boolean" minOccurs="0" /> <xsd:element name="Filters" type="FiltersType" minOccurs="0" /> <xsd:element name="SeriesGroupings" type=" SeriesGroupingsType" minOccurs="0" /> <xsd:element name="CategoryGroupings" type="CategoryGroupingsType" minOccurs="0" /> <xsd:element name="ChartData" type="ChartDataType" minOccurs="0" /> <xsd:element name="Legend" type="LegendType" minOccurs="0" /> <xsd:element name="CategoryAxis" type="CategoryAxisType" minOccurs="0" /> <xsd:element name="ValueAxis" type="ValueAxisType" minOccurs="0" /> <xsd:element name="Title" type="TitleType" minOccurs="0" /> <xsd:element name="PointWidth" type="xsd:unsignedInt" minOccurs="0" /> <xsd:element name="Palette" minOccurs="0"> <xsd:simpleType> <xsd:restriction base="xsd:string"> <xsd:enumeration value="Default" /> <xsd:enumeration value="EarthTones" /> <xsd:enumeration value="Excel" /> <xsd:enumeration value="GrayScale" /> <xsd:enumeration value="Light" /> <xsd:enumeration value="Pastel" /> <xsd:enumeration value="SemiTransparent" /> </xsd:restriction> </xsd:simpleType> </xsd:element> <xsd:element name="ThreeDProperties" type="ThreeDPropertiesType" minOccurs="0" /> <xsd:element name="PlotArea" type="PlotAreaType" minOccurs="0" /> <xsd:element name="DataElementName" type="xsd:string" minOccurs="0" /> <xsd:element name="DataElementOutput" minOccurs="0"> <xsd:simpleType> <xsd:restriction base="xsd:string"> <xsd:enumeration value="Output" /> <xsd:enumeration value="NoOutput" /> <xsd:enumeration value="ContentsOnly" /> <xsd:enumeration value="Auto" /> </xsd:restriction> </xsd:simpleType> </xsd:element> <xsd:element name="ChartElementOutput" minOccurs="0"> <xsd:simpleType> <xsd:restriction base="xsd:string"> <xsd:enumeration value="Output" /> <xsd:enumeration value="NoOutput" /> </xsd:restriction> </xsd:simpleType> </xsd:element> <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 Chart element in RDL 2008/01.
-
<xsd:complexType name="ChartType"> <xsd:choice minOccurs="0" maxOccurs="unbounded"> <xsd:element name="Style" type="StyleType" minOccurs="0" /> <xsd:element name="SortExpressions" type="SortExpressionsType" minOccurs="0" /> <xsd:element name="ActionInfo" type="ActionInfoType" minOccurs="0" /> <xsd:element name="Top" type="SizeType" minOccurs="0" /> <xsd:element name="Left" type="SizeType" minOccurs="0" /> <xsd:element name="Height" type="SizeType" minOccurs="0" /> <xsd:element name="Width" type="SizeType" minOccurs="0" /> <xsd:element name="ZIndex" type="xsd:unsignedInt" minOccurs="0" /> <xsd:element name="Visibility" type="VisibilityType" minOccurs="0" /> <xsd:element name="ToolTip" type="StringLocIDType" minOccurs="0" /> <xsd:element name="DocumentMapLabel" type="StringLocIDType" minOccurs="0" /> <xsd:element name="Bookmark" type="xsd:string" minOccurs="0" /> <xsd:element name="RepeatWith" type="xsd:string" minOccurs="0" /> <xsd:element name="CustomProperties" type="CustomPropertiesType" minOccurs="0" /> <xsd:element name="NoRowsMessage" type="xsd:string" minOccurs="0" /> <xsd:element name="DataSetName" type="xsd:string" minOccurs="0" /> <xsd:element name="PageBreak" type="PageBreakType" minOccurs="0" /> <xsd:element name="Filters" type="FiltersType" minOccurs="0" /> <xsd:element name="ChartSeriesHierarchy" type="ChartHierarchyType" /> <xsd:element name="ChartCategoryHierarchy" type="ChartHierarchyType" /> <xsd:element name="ChartData" type="ChartDataType" minOccurs="0" /> <xsd:element name="ChartAreas" type="ChartAreasType" minOccurs="0" /> <xsd:element name="ChartLegends" type="ChartLegendsType" minOccurs="0" /> <xsd:element name="ChartTitles" type="ChartTitlesType" minOccurs="0" /> <xsd:element name="DynamicHeight" type="xsd:string" minOccurs="0" /> <xsd:element name="DynamicWidth" type="xsd:string" minOccurs="0" /> <xsd:element name="Palette" type="xsd:string" minOccurs="0" /> <xsd:element name="ChartCustomPaletteColors" type="ChartCustomPaletteColorsType" minOccurs="0" /> <xsd:element name="PaletteHatchBehavior" type="xsd:string" minOccurs="0" /> <xsd:element name="DataElementName" type="xsd:string" minOccurs="0" /> <xsd:element name="DataElementOutput" minOccurs="0"> <xsd:simpleType> <xsd:restriction base="xsd:string"> <xsd:enumeration value="Output" /> <xsd:enumeration value="NoOutput" /> <xsd:enumeration value="ContentsOnly" /> <xsd:enumeration value="Auto" /> </xsd:restriction> </xsd:simpleType> </xsd:element> <xsd:element name="ChartBorderSkin" type="ChartBorderSkinType" minOccurs="0" /> <xsd:element name="Code" type="xsd:string" minOccurs="0" /> <xsd:element name="CodeLanguage" minOccurs="0"> <xsd:simpleType> <xsd:restriction base="xsd:string"> <xsd:enumeration value="CSharp " /> <xsd:enumeration value="VB" /> </xsd:restriction> </xsd:simpleType> </xsd:element> <xsd:element name="ChartCodeParameters" type="ChartCodeParametersType" minOccurs="0" /> <xsd:element name="ChartAnnotations" type="ChartAnnotationsType" minOccurs="0" /> <xsd:element name="ChartNoDataMessage" type="ChartTitleType" 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 Chart element in RDL 2010/01 and RDL 2016/01.
Note The following XSD represents RDL macro-versioned schemas only. Possible additions, identified earlier in this section, to base schema RDL 2010/01 from micro-versioned schemas RDL 2011/01, RDL 2012/01, and RDL 2013/01 are provided in sections 5.5, 5.6, and 5.7, respectively. For more information about macro- and micro-versioned schemas, see section 2.1.
-
<xsd:complexType name="ChartType"> <xsd:choice minOccurs="0" maxOccurs="unbounded"> <xsd:element name="Style" type="StyleType" minOccurs="0" /> <xsd:element name="SortExpressions" type="SortExpressionsType" minOccurs="0" /> <xsd:element name="ActionInfo" type="ActionInfoType" minOccurs="0" /> <xsd:element name="Top" type="SizeType" minOccurs="0" /> <xsd:element name="Left" type="SizeType" minOccurs="0" /> <xsd:element name="Height" type="SizeType" minOccurs="0" /> <xsd:element name="Width" type="SizeType" minOccurs="0" /> <xsd:element name="ZIndex" type="xsd:unsignedInt" minOccurs="0" /> <xsd:element name="Visibility" type="VisibilityType" minOccurs="0" /> <xsd:element name="ToolTip" type="StringLocIDType" minOccurs="0" /> <xsd:element name="DocumentMapLabel" type="StringLocIDType" minOccurs="0" /> <xsd:element name="Bookmark" type="xsd:string" minOccurs="0" /> <xsd:element name="RepeatWith" type="xsd:string" minOccurs="0" /> <xsd:element name="CustomProperties" type="CustomPropertiesType" minOccurs="0" /> <xsd:element name="NoRowsMessage" type="xsd:string" minOccurs="0" /> <xsd:element name="DataSetName" type="xsd:string" minOccurs="0" /> <xsd:element name="PageBreak" type="PageBreakType" minOccurs="0" /> <xsd:element name="PageName" type="xsd:string" minOccurs="0" /> <xsd:element name="Filters" type="FiltersType" minOccurs="0" /> <xsd:element name="ChartSeriesHierarchy" type="ChartHierarchyType" /> <xsd:element name="ChartCategoryHierarchy" type="ChartHierarchyType" /> <xsd:element name="ChartData" type="ChartDataType" minOccurs="0" /> <xsd:element name="ChartAreas" type="ChartAreasType" minOccurs="0" /> <xsd:element name="ChartLegends" type="ChartLegendsType" minOccurs="0" /> <xsd:element name="ChartTitles" type="ChartTitlesType" minOccurs="0" /> <xsd:element name="DynamicHeight" type="xsd:string" minOccurs="0" /> <xsd:element name="DynamicWidth" type="xsd:string" minOccurs="0" /> <xsd:element name="Palette" type="xsd:string" minOccurs="0" /> <xsd:element name="ChartCustomPaletteColors" type="ChartCustomPaletteColorsType" minOccurs="0" /> <xsd:element name="PaletteHatchBehavior" type="xsd:string" minOccurs="0" /> <xsd:element name="DataElementName" type="xsd:string" minOccurs="0" /> <xsd:element name="DataElementOutput" minOccurs="0"> <xsd:simpleType> <xsd:restriction base="xsd:string"> <xsd:enumeration value="Output" /> <xsd:enumeration value="NoOutput" /> <xsd:enumeration value="ContentsOnly" /> <xsd:enumeration value="Auto" /> </xsd:restriction> </xsd:simpleType> </xsd:element> <xsd:element name="ChartBorderSkin" type="ChartBorderSkinType" minOccurs="0" /> <xsd:element name="ChartNoDataMessage" type="ChartTitleType" 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>