joyent-portal/spikes/graphs-fe/plotly/readme.md

18 lines
501 B
Markdown
Raw Normal View History

2016-11-08 14:13:32 +02:00
# Plotly
2016-11-03 13:37:18 +02:00
2016-11-08 14:13:32 +02:00
![](http://g.recordit.co/FtMgVC8tE3.gif)
2016-11-03 13:37:18 +02:00
2016-11-04 17:28:46 +02:00
Adding plotly through npm and created a plotly graph components
Running three different graph types of the same data on the same page
2016-11-08 14:13:32 +02:00
## summary
Pros:
- [x] 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