Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Dashboard is an ordered list of indicators and indicator drill pairs.Dashboard is an ordered list of indicators and indicator drill pairs.

Indicators on dashboard offer various ways of formatting. It's possible to group them, change their size or font, or display one of its indicator drill blocks directly on dashboard. They can also be collapsed or expanded (using right mouse click).

...

KeyTypeOptionalityDescriptionConstraints
typestring
Status
colourRed
titlerequired
type identifier, always indicator[indicator]
indicatorstring

Status
colourRed
titlerequired

URL link to the indicator object

/rest/projects/$projectId/md/indicators?name={indicatorName}
indicatorDrillstring

Status
colourRed
titlerequired

URL link to the indicator drill object

/rest/projects/$projectId/md/indicatorDrills?name={indicatorDrillName}
layoutstring
Status
colourGreen
titleoptional

layout of the indicator

when not specified, the indicator's layout is primary

[primary, secondary]
collapsedboolean
Status
colourGreen
titleoptional
determines if the indicator should be collapsed when entering the view

...

KeyTypeOptionalityDescriptionConstraints
typestring
Status
colourRed
titlerequired
type identifier, always indicatorGroup[indicatorGroup]
titlestring
Status
colourRed
titlerequired
title of the indicator group(*)
descriptionstring
Status
colourGreen
titleoptional
description of the indicator group(*)
collapsedboolean
Status
colourGreen
titleoptional
determines if the group should be collapsed when entering the view[true, false]
blockRowsarray

Status
colourRed
titlerequired

array of either:

see the syntax example above


...

content.blockRows.distribution

Distribution block's scale and the distribution of the data is defined in its paired indicator.content.

Distribution also has a description, which is not configurable through metadata, but is compiled from the properties of its paired indicator, according to this formula: "Distribution of indicator.title in granularity"

...

Key

...

Type

...

Optionality

...

Description

...

Constraints

...

REQUIRED

...

type identifier, always distribution

...

content.blockRows.ranking

Ranking block can be switched to display either markers, or areas (when they're both available in the view). When there is a higher number of elements, infinite scroll is used.

Ranking also has a description, which is not configurable through metadata, but is compiled from the properties of its paired indicator, according to this formula: "Rank of object according to indicator.title" (note: object in this case is either a polygon from a certain granularity, or a marker).

...

Key

...

Type

...

Optionality

...

Description

...

Constraints

...

REQUIRED

...

type identifier, always ranking

...

specifies which feature type should be ranked by default

default = granularity

...

specifies the direction of ranked objects

default = desc

...

content.blockRows.timeSeries

Time series visualises the progress and trend of the respective indicator in a selected time frame. Additionally, it can be extended with time series of another indicator.

However, its time frame is set by view.content.filterGroup.globalDate filter. The component itself also allows the user to set the granularity of the block (days, weeks, months, quarters or years).

Time series also has a description, which is not configurable through metadata, but is compiled from the properties of its paired indicator, according to this formula: "Progress of indicator.title from view.content.filterGroup.globalDate.startDate to view.content.filterGroup.globalDate.endDate"

...

Key

...

Type

...

Optionality

...

Description

...

Constraints

...

REQUIRED

...

type identifier, always timeSeries

...

The syntax of distribution block on dashboard is identical to the regular distribution syntax. See indicatorDrill.content.blocks.distribution.

content.blockRows.ranking

The syntax of ranking block on dashboard is identical to the regular ranking syntax. See indicatorDrill.content.blocks.ranking.

content.blockRows.timeSeries

The syntax of time series block on dashboard is identical to the regular series block syntax. See indicatorDrill.content.blocks.timeSeries.

content.datasetProperties

...

KeyTypeOptionalityDescriptionConstraints
datasetstring
Status
colourRed
titlerequired
URL link to the dataset, whose properties will be set/rest/projects/$projectId/md/datasets?name={datasetName}
defaultSearchstring
Status
colourGreen
titleoptional

specifies if the dataset will be enabled in Refine search

enable = dataset will be enabled

disable = dataset will be disabled

auto = dataset will be enabled if its features are visible in the map

[enable, disable, auto]
featureAttributesarray

Status
colourRed
titlerequired

array of dataset.properties.featureAttributes


...