Multi-graph widget for Shopify's dashing to display a comparison style graph (or stacked with a minor modification). Obviously, this is an example that is built heavily on the existing graph widget that is provided with dashing. This widget provides a more clear framework for expanding the graph for multiple series (or nodes) of data. After seeing the example code, it should be fairly easy to expand to 3 or more overlaid graphs (although colors might get tricky). And really, this is just a slightly greater use of the cool rickshaw graphs.
To use this widget:
- copy
mgraph.coffee
,mgraph.html
andmgraph.scss
into a new/widgets/mgraph
folder - copy
multitest.rb
into your/jobs
folder
Then include the widget in a dashboard, by adding the following snippet to your dashboard layout file:
- For a nice 2 tile-wide widget:
<li data-row="1" data-col="1" data-sizex="2" data-sizey="1">
<div data-id="multitest" data-view="Mgraph" data-title="Multi Convergence" style="background-color:#ff9618"></div>
</li>
@swilcox I'm just starting to use dashing, can you share why you stopped using it? have you found a better alternative?