Comments (4)
Related to absmach/magistrala#1966.
from magistrala-ui.
Some of the items we need to focus on include:
- Determining the dataset length to avoid fetching large data for charts
- Data aggregation?
- Data fetch interval (e.g if data is fetched for 1 day, should the interval between each data be 1hr, 1minute, 2hrs e.t.c). This will also be related to the data aggregation
- Polling of database
- Web socket connection for widgets that display realtime data e.g guages.
from magistrala-ui.
Type of chart
- Analogue gauge
- Pressure gauge
- Temperature
Type of data required
Realtime data
Potential modifications
- Query data by thing Id and name of sensor paramter
- Upgrade protocol to ws for real time data streaming or
- Use async time intervals on the frontend.
Type of chart
- Time series line chart
- Range chart
- Area line chart
- Dynamic chart
Type of data required
Y axis data: sensor value
X axis data: time data
Potential modifications
- Query data by thing ID, name of sensor parameter, start period, end period
Type of chart
- Pi chart
- Donut chart
Type of data required
Aggregated data from different publishers on a channel for a single named parameter
Potential modification
Query data by thing ID, name of sensor parameter, start period, end period and aggregate
Notes
The return type is maintained as is from sdk.ReadMessages
from magistrala-ui.
Currently, we will focus only on data filtering (and aggregation if necessary) to enable charts to work; absmach/magistrala#1966 is a lower priority and will be added in the next release.
from magistrala-ui.
Related Issues (20)
- [BUG] Postgres client does not parse env variable HOT 1
- [BUG] Error Page is not Loading on Registration Page
- [FEATURE] Create abstractions for widgets and charts
- Redirect to login if cookie not present
- Disable messaging if none of the readers is running
- Update Line chart widgets to fetch data from timescale reader
- Update table charts to fetch data from the backend
- Update Bar charts to fetch data from the back-end reader
- Update Cards to fetch data from the back-end
- Update Gauges to fetch data from the back-end readers
- Update pie charts to fetch data from the back-end readers
- separate refresh_token from the session
- [BUG] Failed thing creation does not show an error on ui
- Improve time selection for time series charts
- [BUG] Fix entity filtering
- Update readMessages page
- PoC for NextJS
- PoC for HTMX with SSR HOT 1
- [BUG] Resizing Card Widget
- [BUG] Can't Delete Things Or Channels From The Web
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from magistrala-ui.