[openstack-dev] [Horizon] Graphs on project main page

Matt Joyce matt.joyce at cloudscaling.com
Mon Jun 10 21:50:30 UTC 2013


So we're using d3.js.  AWESOME!

We currently are passing some vars to horizon.d3piechart.js

Cool.

I am adding a new js right now ( not review yet ) called
horizon.d3multiserieslinechart.js

But... different graphs have diffent arguments for how to populate our
quota stats.

So here's what I am thinking.  We take quota stats and move them to a
central method that pulls in all the quotas and outputs a json blob of
those stats.

Then we have another method that can take stats json and some identifier
vars to choose how to and which js d3 formatter to call.

Later we can let people choose different graph views ( drop down? )


Thoughts?


  -Matt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20130610/e64ef955/attachment.html>


More information about the OpenStack-dev mailing list