Versions Compared

Key

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

View is a visualization of certain theme using a set of related indicators and groups of objects (markers or areas) displayed on a map. View also contains the definition of filters.

...

Code Block
{
    "type": "histogram",
    "property": "baskets.amount",
    "format": {
        "type": "number",
        "fraction": 0,
        "symbol": "£"
    },Example of a indicator filter with defaultValues set.

    "defaultValues": {
        "values": [
            100.0,
            500.0
        ],
        "nullFiltered": true
    }
}

...

Key

Type

Optionality

Description

Constraints

icon

string

Status
colourGreen
titleoptional

identifier of the view icon as shown on the project page

see the available icons below

["catchment_area", "atm_cash_machine", "city_buildings", "credit_cards", "customer_intelligence", "diagram_chart", "fast_delivery", "first_place_pedestal", "hourglass_sandclock", "location_mark", "market_potential", "market_trends", "market_vision", "optimism_and_happiness", "packaging_box", "performance_method", "rent_a_house", "road_route", "shopping_cart", "tactical_advantage", "venture_capital", "wealth_accumulation", "workgroup_people"]

dashboard

string

Status
colourRed
titlerequired

URL link to the dashboard, which the view contains

/rest/projects/$projectId/md/dashboards?name={dashboardName}

markerSelector

string

Status
colourGreen
titleoptional

URL link to the marker selector, which the view contains

/rest/projects/$projectId/md/markerSelectors?name={markerSelectorName}

markersOnly

boolean

Status
colourGreen
titleoptional

enables the marker only view (see the tutorial)

default = false

[true, false]

showAttributesOnDrill

boolean

Status
colourGreen
titleoptional

enables feature attributes visibility after clicking on a indicator drill

[true, false]

defaultGranularity

string

Status
colourGreen
titleoptional

URL link to the dataset, which will be the selected as the default granularity level when entering the view

/rest/projects/$projectId/md/datasets?name={datasetName}

defaultVisualized

string

Status
colourGreen
titleoptional

URL link to the indicator, which will be the visualised by default when entering the view

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

defaultVisualization

string

Status
colourGreen
titleoptional

specifies default visualization selected when entering the view

[areas, grid, zones, heatmap, dotmap, line]

defaultDrilled

string

Status
colourGreen
titleoptional

URL link to the indicator, which will be the drilled down to by default when entering the view

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

defaultTool

string

Status
colourGreen
titleoptional

specify a tool which will be active by default when entering the view

search = , filter = , visibility =, measure =

[search, filter, visibility, measure]

defaultCompareType

string

Status
colourGreen
titleoptional

specifies default compare type selected when using compare

[dominance, overlap]

filterGroup

array

Status
colourGreen
titleoptional

array of available filters applicable to the indicators presented in this view, these filters must not contain defaultValues

[indicatorglobalDate, datehistogram, multiSelect]

defaultActiveFilters

array

Status
colourGreen
titleoptional

array of active filters applied to the indicators presented in this view, these filters must contain defaultValues

[indicatorglobalDate, datehistogram, multiSelect]

variables

array

Status
colourGreen
titleoptional

array of variables filter type

[variables]

spatialQuery

object

Status
colourGreen
titleoptional

default spatial query settings (used in heatmap visualization)

x => 1

fitnessGroups

integer

Status
colourGreen
titleoptional

specifies the number of indicator fitness segments

this setting's scope is view, so it will affect all indicators in the view

[3, 5]

mapOptions

object

Status
colourGreen
titleoptional

map window settings on the project page


mapContextMenu

object

Status
colourGreen
titleoptional

array of objects with definition of 3rd party services available on mouse context click


exports

object

Status
colourGreen
titleoptional

array of export references which allows you to define exports per view


measure

object

Status
colourGreen
titleoptional

measure tool settings


defaultSelected

object

Status
colourGreen
titleoptional

specify objects selected by default when entering the view


excludeDatasets

array

Status
colourGreen
titleoptional

array of dataset names (not links) to be excluded from the granularity dropdown menu


...

Key

Type

Optionality

Description

Constraints

type

string

Status
colourRed
titlerequired

type identifier, always indicator

[indicator]

indicator

string

Status
colourRed
titlerequired

URL link to an indicator object, whose value will be filtered

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

defaultValues

object

VARIES

object containing default values for the filter

See Views#Example of a indicator filter with defaultValues set

forbidden when the filter is within filterGroup

required when the filter is within defaultActiveFilters


filterSelection

boolean

Status
colourGreen
titleoptional

determines if the filter should be applied also when a marker is selected (true means apply the filter)

default = false

[true, false]

...

Key

Type

Optionality

Description

Constraints

type

string

Status
colourRed
titlerequired

type identifier, always globalDate

[globalDate]

property

object

Status
colourRed
titlerequired

identifier of a dataset property, which will be filtered by date

e.g.: orders.order_date

{datasetName}.{datasetProperty}

defaultValues

object

VARIES

object containing default values for the date range filter

See Views#Example of a globalDate filter with defaultValues set

forbidden when the filter is within filterGroup

required when the filter is within defaultActiveFilters


...

Key

Type

Optionality

Description

Constraints

type

string

Status
colourRed
titlerequired

type identifier, always date

[date]

property

object

Status
colourRed
titlerequired

identifier of a dataset property, which will be filtered by date

{datasetName}.{datasetProperty}

defaultValues

object

VARIES

object containing default values for the date range filter

See Views#Example of a date filter with defaultValues set

forbidden when the filter is within filterGroup

required when the filter is within defaultActiveFilters


...

Key

Type

Optionality

Description

Constraints

type

string

Status
colourRed
titlerequired

type identifier, always histogram

[histogram]

property

object

Status
colourRed
titlerequired

identifier of a dataset property, which the filter will be applied to

{datasetName}.{datasetProperty}

format

object

Status
colourGreen
titleoptional

specifies the formatting of the histogram values

see indicator.content.format


defaultValues

object

VARIES

object containing default values for the histogram filter

See Views#Example of a histogram filter with defaultValues set

forbidden when the filter is within filterGroup

required when the filter is within defaultActiveFilters


...

Key

Type

Optionality

Description

Constraints

type

string

Status
colourRed
titlerequired

type identifier, always multiSelect

[multiSelect]

property

object

Status
colourRed
titlerequired

identifier of a dataset property, which the filter will be applied to

{datasetName}.{datasetProperty}

orderBy

object

Status
colourGreen
titleoptional

specifies how to order the multiselect list


defaultValues

object

VARIES

object containing default values for the multi select filter

See Views#Example of a multiSelect filter with defaultValues set

forbidden when the filter is within filterGroup

required when the filter is within defaultActiveFilters


...

Key

Type

Optionality

Description

Constraints

type

string

Status
colourRed
titlerequired

type identifier, always singleSelect

[singleSelect]

property

object

Status
colourRed
titlerequired

identifier of a dataset property, which the filter will be applied to

{datasetName}.{datasetProperty}

orderBy

object

Status
colourGreen
titleoptional

specifies how to order the singleselect list


defaultValues

object

VARIES

object containing default values for the single select filter

See Views#Example of a singleSelect filter with defaultValues set

forbidden when the filter is within filterGroup

required when the filter is within defaultActiveFilters


...

Key

Type

Optionality

Description

Constraints

type

string

Status
colourRed
titlerequired

type identifier, always feature

[feature]

dataset

string

Status
colourRed
titlerequired

link to a dataset whose features will be filtered

/rest/projects/$projectId/md/datasets?name={datasetName}

defaultValues

object

VARIES

object containing default string values for the feature filter

See Views#Example of a feature filter with defaultValues set

forbidden when the filter is within filterGroup

required when the filter is within defaultActiveFilters

size => 1

...

This is the available view icon palette.

atm_cash_machine

catchment_area

city_buildings

credit_cards

customer_intelligence

diagram_chart

fast_delivery

first_place_pedestal

hourglass_sandclock

location_mark


market_potential

market_trends

market_vision

optimism_and_happiness

packaging_box

performance_method

rent_a_house

road_route

shopping_cart

tactical_advantage


venture_capital

wealth_accumulation

workgroup_people

Views displayed on the project page

...