Visualisation definition Line chart

🚧 This section is a work in progress 🚧

The line chart visualisation type represents data as a matrix/heatmap chart visualisation.


When to use

TBD


How it works

TBD


Definition

{
  id: 'id',
  type: 'line',
  display: 'name',
  description: 'description',
  option: {
    ...
  }
  column: {
    ...
  }
}

See the Targeting data for and how to target data with the column


Examples

Example Dataset


| ts         |  est_id  | wing  | cell  | finds       | count | 
|------------|----------| ------|-------|-------------|-------|
| 2025/02/25 |          |       |       |             | 81    |
| 2025/02/25 |          |       |       | Drugs       | 17    |
| 2025/02/25 |          |       |       | Phones      | 22    |
| 2025/02/25 |          |       |       | Weapons     | 26    |
| 2025/02/25 |          |       |       | Alcohol     | 16    |

Example 1

TBD

Definition

{
  id: 'example-1',
  type: 'vis-type',
  display: 'Example definition',
  description: 'Example definition description',
  option: {},
  column: {
    key: [],
    measure: [],
    filter: []
    expectNull: true,
  },
}

Visualisation dataset

This definition will return the following dataset


see here for more info on targeting data


Visualisation


Example 2

TBD

Definition

{
  id: 'example-1',
  type: 'vis-type',
  display: 'Example definition',
  description: 'Example definition description',
  option: {},
  column: {
    key: [],
    measure: [],
    filter: []
    expectNull: true,
  },
}

Visualisation dataset

This definition will return the following dataset


see here for more info on targeting data


Visualisation