Skip to content

pryv/poc-plotly

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PoC: Plotly

Basic webapp that allows to visualize Pryv data in real time using the Plotly graph library.

This app loads (via Pryv monitors) any numerical type Pryv data and plots it in a separate graph per stream/data-type.

The app is accessible at pryv.github.io/poc-plotly/

Display parameters

plotly display properties can be passed at a Stream level with the property clientData

properties of poc-plotly You can specifiy per-eventType trace properties. All fields are optionals.

Example:

"clientData": {
    "poc-plotly": {
      "count/generic": {
        "plotKey": "Multiple",
        "titleY": "Z dimension"
        "ignore": false,
        "trace": {
          "type": "scatter",
          "name": "Z",
          "mode": "lines",
          "connectgaps": 0
        }
      }
    }
  }
}

series:\*/* Events processing

This version includes feature to use the preview of High-Frequency implementation on Pryv.

This feature can be tested with:

Series events have been implemented as:

  • being happend to same "Stream" than standard events of the same type. Exemple: events of type "series:count/generic" on streamId "sampleStream" will be drawn on than events of type "count/generic" on the same stream.
  • By order Each event found will be processed, but only the last (with the higher event.time value will be monitored)
  • Monitoring is done by pulling on the API every pullSerieFrequencyMs ms

Todo:

  • Eventually display differently Series event (maybe as "marks")
  • Make sure that all series events' measures previous to the last one are fetched. (not done now)

Support and warranty

Pryv provides this software for educational and demonstration purposes with no support or warranty.

About

Basic webapp that allows to visualize Pryv data in real time using the Plotly graph library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5

Languages