Analytics Aggregate

Overview

List of configuration files

Filename

Short description

Format

Link to documentation

dashboard.view#AnalyticsAggregateWidget

Defines the AnalyticsAggregateWidget widget global settings

json

Link

List of examples

Features

This widget combines an Range widget of AggregatePeriod type and a Select widget of AnalyticsAggregate type. With these two widgets, you can override the period (Range widget) and function (Select widget) used to aggregate the data of a query.

../../../_images/osp-analytics-aggregate-example.png

Settings

Set the settings for each widget :

Setting

Usage

Type

Default value

periodSettings

Range to define period of aggregation

Range

functionSettings

Selector to define aggregate function

Select

Example of a AnalyticsAggregate configuration:

{
  {
    "type": "AnalyticsAggregate",
    "id": "id",
    "title": "",
    "analyticsAggregateSettings": {
        "functionSettings": {
          "type": "AnalyticsAggregate",
          "defaultOption": "max",
          "icon": "functions"
        },
        "periodSettings": {
          "type": "AggregatePeriod"
        }
  }