Skip to content

MetricDimensionBuilder

Defined in: builder/metric.ts:11

A builder for a dimension attached to a metric.

key: string

Defined in: builder/metric.ts:20


readonly prn: string

Defined in: builder/index.ts:32

BaseBuilder.prn

addSubject(subject): this

Defined in: builder/metric.ts:18

Subjects are the reference for a particular metric. For example a country template may be supplied: in this case the dimensions will be instances of that template (Australia, New Zealand) that are items in the workspace.

TemplateBuilder | UnionBuilder

this


setDescription(description): this

Defined in: builder/index.ts:33

string

this

BaseBuilder.setDescription


toDefinition(): MetricDimensionDefinition

Defined in: builder/metric.ts:25

Returns the definition structure of this metric deminsion.

MetricDimensionDefinition