PivotAjaxDataSourceSchemaCubeMeasureBuilder
Methods
Field(System.Linq.Expressions.Expression)
Selects the model field whose values are used to calculate the measure.
Parameters
expression - System.Linq.Expressions.Expression<Func>
An expression selecting the field used for measure calculations.
RETURNS
The PivotAjaxDataSourceSchemaCubeMeasureBuilder object to support method chaining.
Field(System.String)
Selects the model field whose values are used to calculate the measure.
Parameters
member - System.String
The name of the field used for measure calculations.
RETURNS
The PivotAjaxDataSourceSchemaCubeMeasureBuilder object to support method chaining.
Caption(System.String)
Sets the display caption for the measure.
Parameters
caption - System.String
The text displayed for the measure.
RETURNS
The PivotAjaxDataSourceSchemaCubeMeasureBuilder object to support method chaining.
Format(System.String)
Sets the format applied to the calculated measure value.
Parameters
format - System.String
A numeric format string for the calculated value.
RETURNS
The PivotAjaxDataSourceSchemaCubeMeasureBuilder object to support method chaining.
Aggregate(System.String)
Sets the name of a client-side function that aggregates measure values. Use Kendo.Mvc.UI.Fluent.PivotAjaxDataSourceSchemaCubeMeasureBuilder.AggregateName(System.String) to select a built-in aggregate.
Parameters
aggregate - System.String
The name of the client-side aggregate function.
RETURNS
The PivotAjaxDataSourceSchemaCubeMeasureBuilder object to support method chaining.
Aggregate(System.Func)
Sets an inline client-side function that aggregates measure values.
Parameters
handler - System.Func<Object,Object>
The aggregate function.
RETURNS
The PivotAjaxDataSourceSchemaCubeMeasureBuilder object to support method chaining.
AggregateName(System.String)
Selects a built-in function for aggregating measure values. Supported values are average, count, max, min, and sum.
Parameters
aggregateName - System.String
The name of the built-in aggregate.
RETURNS
The PivotAjaxDataSourceSchemaCubeMeasureBuilder object to support method chaining.
Result(System.String)
Sets the name of a client-side function called after tuple aggregation to calculate the final measure value.
Parameters
result - System.String
The name of the client-side result function.
RETURNS
The PivotAjaxDataSourceSchemaCubeMeasureBuilder object to support method chaining.
Result(System.Func)
Sets an inline client-side function called after tuple aggregation to calculate the final measure value. Without a result function, the aggregate accumulator is used.
Parameters
handler - System.Func<Object,Object>
The function that calculates the final value from the aggregate state.
RETURNS
The PivotAjaxDataSourceSchemaCubeMeasureBuilder object to support method chaining.