共用方式為


DataPoint Element (RDL)

Defines a single data point for a chart.

語法

<DataPoints>
    ...
        <DataPoint>
             <DataValues>...</DataValues>
           <DataLabel>...</Datalabel>
           <Action>...</Action>
            <Style>...</Style>
            <Marker>...</Marker>
            <DataElementName>...</DataElementName>
            <DataElementOutput>...</DataElementOutput>
        </DataPoint>
     ...
</DataPoints>

Element Characteristics

Characteristic Description

Data type and length

None

Default value

None

Cardinality

1-n: Required element that can occur once or more than once.

Element Relationships

Relationship Element

Parent element

DataPoints

Child elements

Action, DataElementName, DataElementOutput, DataLabel, DataValues, Marker, Style

備註

There must be one DataPoint element for each static category in a chart series. If the chart series does not contain static categories, the DataPoints element must contain one and only one DataPoint element. The data values within the child DataValues element can be a single value expression (in the case of bar or line charts) or multiple value expressions (in the case of stock and bubble charts).

請參閱

參考

Report Definition XML Elements

說明及資訊

取得 SQL Server 2005 協助