Label Element (Chart Elements) (RDL)

Provides a label for items in a chart.

语法

<DynamicSeries Name="..."> <!-- or StaticMember, DynamicCategories, -->
       ...
        <Label>...</Label>
    ...
</DynamicSeries> <!-- or /StaticMember, /DynamicCategories, -->

Element Characteristics

Characteristic Description

Data type and length

String

Default value

None

Cardinality (when used as a child of DynamicCategories)

0-1: Optional element that can occur once or not at all.

Cardinality (when used as a child of DynamicSeries or StaticMember)

1-1: Required element that occurs once and only once.

Element Relationships

Relationship Element

Parent elements

DynamicCategories, DynamicSeries, StaticMember,

Child element

None

备注

For dynamic series, the value of Label is an expression that evaluates to a string. For a static member or dynamic categories, the value of Label is an expression that evaluates to a variant.

For dynamic and static series, the label is displayed on the chart legend. For dynamic and static categories, the label is displayed on an axis.

请参阅

参考

Report Definition XML Elements

帮助和信息

获取 SQL Server 2005 帮助