Giter Site home page Giter Site logo

Comments (4)

dborovcanin avatar dborovcanin commented on May 29, 2024

Related to absmach/magistrala#1966.

from magistrala-ui.

ianmuchyri avatar ianmuchyri commented on May 29, 2024

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.

1998-felix avatar 1998-felix commented on May 29, 2024

Type of chart

  • Analogue gauge
  • Pressure gauge
  • Temperature

Type of data required

Realtime data

Potential modifications

  1. Query data by thing Id and name of sensor paramter
  2. Upgrade protocol to ws for real time data streaming or
  3. 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

  1. 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.

dborovcanin avatar dborovcanin commented on May 29, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.