PivotDataSourceMeasureBuilder

Methods

Values(System.String[])

Sets the hierarchical names of the measures to load. Use this overload for name-only entries; use the descriptor overload to configure a rendering type for each measure.

Parameters

values - System.String[]

The hierarchical measure names to load.

RETURNS

The PivotDataSourceMeasureBuilder object to support method chaining.

Values(System.Action)

Configures each measure descriptor, including its hierarchical name and optional rendering type. The supported types are status and trend; when no type is set, the data cell template is used.

Parameters

addAction - System.Action<PivotDataSourceMeasureDescriptorFactory>

Configures the measure descriptors to load.

RETURNS

The PivotDataSourceMeasureBuilder object to support method chaining.

Axis(Kendo.Mvc.UI.PivotDataSourceMeasureAxis)

Sets whether measures are displayed on the rows or columns axis. The default is ; this setting applies when multiple measures are used.

Parameters

axis - PivotDataSourceMeasureAxis

The axis on which to display the measures.

RETURNS

The PivotDataSourceMeasureBuilder object to support method chaining.

Add()

Adds a measure descriptor with a name and optional rendering type. The type can be status or trend to use the corresponding KPI template; when omitted, the data cell template is used.

RETURNS

The PivotDataSourceMeasureBuilder object to support method chaining.