# Interface BaseMeasure

Common interface of a Base measure, which is aggregation over Attribute.

# Methods

# format

format(format): Measure

Formats the measure according to the given format definition.

# Parameters

Parameter Type Description
format string Format string

# Returns

Measure

A formatted instance of this measure


# getFormat

getFormat(): undefined | string

Gets the formatting string of this measure.

# Returns

undefined | string

Formatting string


# getSort

getSort(): Sort

Gets the sort definition of this measure.

# Returns

Sort


# sort

sort(sort): Measure

Sorts the measure by the given sort definition.

# Parameters

Parameter Type Description
sort Sort Sort definition

# Returns

Measure

A sorted instance of measure

# Properties

# aggregation

readonly aggregation: string

Aggregation type


# attribute

readonly attribute: Attribute

Aggregated attribute


# name

name: string

Element name


# type

readonly type: string

Element type