Configures a measure's hierarchical name and optional KPI rendering type.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class PivotDataSourceMeasureDescriptorBuilder
Inheritance: objectPivotDataSourceMeasureDescriptorBuilder
Inherited Members
Constructors
Initializes a new instance of the PivotDataSourceMeasureDescriptorBuilder class.
public PivotDataSourceMeasureDescriptorBuilder(PivotDataSourceMeasureDescriptor measure)
The measure descriptor to update.
Methods
Sets the hierarchical name of the measure to load.
public PivotDataSourceMeasureDescriptorBuilder Name(string name)
The hierarchical name of the measure.
Returns:PivotDataSourceMeasureDescriptorBuilder
The PivotDataSourceMeasureDescriptorBuilder object to support method chaining.
Sets how the measure is rendered. Use status for the KPI status
template or trend for the KPI trend template. If omitted, the
data cell template is used.
public PivotDataSourceMeasureDescriptorBuilder Type(string type)
The rendering type: status or trend.
PivotDataSourceMeasureDescriptorBuilder
The PivotDataSourceMeasureDescriptorBuilder object to support method chaining.