Scalar Element (RDL)

Indicates whether the values on the axis are scalar.

语法

<Axis>
       ...
        <Scalar>...</Scalar>
       ...
</Axis>

Element Characteristics

Characteristic Description

Data type and length

Boolean

Default value

False

Cardinality

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

Element Relationships

Relationship Element

Parent element

Axis

Child elements

None

备注

If Scalar is False, the values on the axis are not scalar, that is, the axis displays only the values present in the data. If it is True, the axis displays a set of values on a continuous scale. For example, if the dataset contains data for January, March, July, November, and December, a non-scalar axis displays only those months, while a scalar axis displays all of the months in the year.

Scalar cannot be True if the axis has more than one grouping, has a static grouping, or has a grouping with more than one group expression. Scalar only affects axes in which the data contains numeric or date values.

The Scalar element is ignored for the y-axis (value axis). Scalar is always True for this axis.

请参阅

参考

Report Definition XML Elements

帮助和信息

获取 SQL Server 2005 帮助