joyent-portal/spikes/graphs-fe/plotly
Tom Gallacher 904328bfca spikes: plotly customisation
It seems that customising plotly can become difficult once introducing
more unique properties to the style of a graph. In this case changing
the colour of a graph was easy, but adding a border to the top of the
graph only becomes cumberson.
2016-11-08 15:18:07 +00:00
..
client spikes: plotly customisation 2016-11-08 15:18:07 +00:00
server use react-plotly 2016-11-07 15:17:19 +00:00
static starting a fresh with plotly 2016-11-07 14:43:32 +00:00
.babelrc starting a fresh with plotly 2016-11-07 14:43:32 +00:00
.eslintignore starting a fresh with plotly 2016-11-07 14:43:32 +00:00
.eslintrc starting a fresh with plotly 2016-11-07 14:43:32 +00:00
.gitignore starting a fresh with plotly 2016-11-07 14:43:32 +00:00
package.json use react-plotly 2016-11-07 15:17:19 +00:00
readme.md add some points to plotly 2016-11-08 12:13:32 +00:00
webpack.config.js integrate metrics-server with plotly 2016-11-07 14:43:32 +00:00
yarn.lock adding in graphs and looping ability 2016-11-07 14:43:32 +00: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