1
0
mirror of https://github.com/yldio/copilot.git synced 2024-11-28 22:20:06 +02:00
copilot/legacy/spikes/graphs-fe/plotly
Sérgio Ramos 8295bd6882 chore: initial lerna setup
this shall be a progressive process
2017-05-25 10:56:50 +01:00
..
client chore: initial lerna setup 2017-05-25 10:56:50 +01:00
server chore: initial lerna setup 2017-05-25 10:56:50 +01:00
static chore: initial lerna setup 2017-05-25 10:56:50 +01:00
.babelrc chore: initial lerna setup 2017-05-25 10:56:50 +01:00
.eslintignore chore: initial lerna setup 2017-05-25 10:56:50 +01:00
.eslintrc chore: initial lerna setup 2017-05-25 10:56:50 +01:00
.gitignore chore: initial lerna setup 2017-05-25 10:56:50 +01:00
package.json chore: initial lerna setup 2017-05-25 10:56:50 +01:00
readme.md chore: initial lerna setup 2017-05-25 10:56:50 +01:00
webpack.config.js chore: initial lerna setup 2017-05-25 10:56:50 +01:00

Plotly

Adding plotly through npm and created a plotly graph components Running three different graph types of the same data on the same page

summary

Pros:

  • simple and complete api for static graphs

Cons:

  • very slow on consecutive renders (if they happen in short intervals)
  • lacking api for real time graphs
  • restyle or recalc are only useful for style changes
  • extendTraces API is not documented and not obvious