<div dir="ltr">added benefit is we can setup the method for quota collection to pull either from specific service API's or ceilometer as a sort of profile.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Mon, Jun 10, 2013 at 2:50 PM, Matt Joyce <span dir="ltr"><<a href="mailto:matt.joyce@cloudscaling.com" target="_blank">matt.joyce@cloudscaling.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div><div><div><div><div><div><div><div>So we're using d3.js. AWESOME!<br><br></div>We currently are passing some vars to horizon.d3piechart.js<br><br></div>Cool.<br><br></div>I am adding a new js right now ( not review yet ) called horizon.d3multiserieslinechart.js <br>
<br></div>But... different graphs have diffent arguments for how to populate our quota stats.<br><br>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.<br>
<br></div>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.<br><br></div>Later we can let people choose different graph views ( drop down? )<br>
<br><br></div>Thoughts?<span class="HOEnZb"><font color="#888888"><br><br><br></font></span></div><span class="HOEnZb"><font color="#888888"> -Matt<br></font></span></div>
</blockquote></div><br></div>