Partilhar via


Label Element (Chart Elements) (RDL)

Provides a label for items in a chart.

Syntax

<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

Remarks

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.

See Also

Reference

Report Definition XML Elements

Help and Information

Getting SQL Server 2005 Assistance