2.88.24 Chart.DataSetName

The Chart.DataSetName element specifies the name of the DataSet to use for a data region. This element is optional. If this element is present, its value MUST be a String ([XMLSCHEMA2/2] section 3.2.1).

The Chart.DataSetName element MUST be specified if both of the following statements are true:

  • The Chart is not contained within another data region.

  • More than one dataset is specified for the Report.

If no dataset is specified for the containing report, the chart does not render.

In RDL 2008/01, RDL 2010/01, and RDL 2016/01, if the Chart has an ancestor, the value of the Chart.DataSetName element is interpreted as the DataSet.Name for the containing scope (DataRegion, Group, or Cell).<22>

Following is the parent element of the Chart.DataSetName element.

Parent elements

Chart

The following is the XML Schema definition of the Chart.DataSetName element.

 <xsd:element name="DataSetName" type="xsd:string" minOccurs="0" />