Add graphs of data stream data

Created on 11 March 2021, almost 4 years ago
Updated 30 October 2023, about 1 year ago

Problem/Motivation

We're adding data streams: #3199413: 2.x Data Stream β†’

In 1.x we had a graph of sensor data. We need to replicate that functionality in 2.x.

Steps to reproduce

N/A

Proposed resolution

I propose we use the Drupal charts module: https://www.drupal.org/project/charts β†’

A really nice feature this module provides is View Chart Attachements... so we can attach a chart to our existing Table view of data stream data. It also has features to build blocks of charts.

I tested out the 5.x-alpha release a few months ago and was able to get it working with Chart.js, but tried again today and ran into some errors. The module supports some other JS charting libraries but not all of their licenses are very friendly. I am biased towards Chart.js since I have used it in the past and think it looks best out of the box.

I'm hoping to use Charts + Chart.js in a custom data stream module and plan to make Chart.js v3 available. Perhaps this can wait a bit for that to catch up. I don't think the integration will be too difficult. #3199377: Chart.js 3.0 β†’

Remaining tasks

- Adopt Charts module + charting library
- Add graphs of listener + legacy listener data stream data

User interface changes

- Add graphs of data stream data

API changes

None.

Data model changes

None.

πŸ“Œ Task
Status

Active

Version

3.0

Component

Miscellaneous

Created by

πŸ‡ΊπŸ‡ΈUnited States paul121 Spokane, WA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024