jondot/graphene

Stacking graphs

iannaccone15 opened this issue · 5 comments

Is there a way to stack the graphs? I know d3 allows this but is there a quick way to do it in graphene? Trying not to write a new function to do it.

By stack graphs i mean stack individual metrics on the same graph

What type of graph are you trying to draw? Are you trying to get a stacked bar graph?

stacked area graphs or "timeseries" as graphene calls it

As far as I know, Graphene doesn't support this.

One option is to use Graphite to add the metrics. For example, if you have metrics A, B, and C, and you want A to be the bottom of the graph with B stacked in the middle and C stacked on top, you could use: A' = A, B' = A + B, C' = A + B + C. This would render like a stacked timeseries.

Ok, thanks for the help!