<template name="sidebar">
<div id="sidebar" class="sidebar-offcanvas">
  <div class="col-md-12">
    <h3>Live Video Feed</h3>
    <iframe width="190" height="172" src="//www.ustream.tv/embed/9408562?v=3&amp;wmode=direct&autoplay=true&volume=0" scrolling="no" frameborder="0" style="border: 0px none transparent;"></iframe>
    <br />
    <h3>Live Stats</h3>
    {{#if Template.subscriptionsReady}}
    <script type="text/javascript">
    var o2 = Number({{o2.value}}).toFixed(2);
    var n2 = Number({{n2.value}}).toFixed(2);
    var co2 = Number({{co2.value}}).toFixed(2);
    var goodh2o = Number({{goodh2o.value}});
    var badh2o = Number({{badh2o.value}});
    drawAirChart( o2, n2, co2 );
    drawWaterChart( goodh2o, badh2o );
    </script>
    
    {{else}}
    Loading...
    {{/if}}
    <canvas id="air-chart" width="190" height="190"></canvas>
    <canvas id="water-chart" width="190" height="190"></canvas>
  </div>
</div>
</template>
<template name="sidebar">
<div id="sidebar" class="sidebar-offcanvas">
  <div class="col-md-12">
    <h3>Live Video Feed</h3>
    <iframe width="190" height="172" src="//www.ustream.tv/embed/9408562?v=3&amp;wmode=direct&autoplay=true&volume=0" scrolling="no" frameborder="0" style="border: 0px none transparent;"></iframe>
    <br />
    <h3>Live Stats</h3>
    {{#if Template.subscriptionsReady}}
    <script type="text/javascript">
    var o2 = Number({{o2.value}}).toFixed(2);
    var n2 = Number({{n2.value}}).toFixed(2);
    var co2 = Number({{co2.value}}).toFixed(2);
    var goodh2o = Number({{goodh2o.value}}).toFixed(2);
    var badh2o = Number({{badh2o.value}}).toFixed(2);
    drawAirChart( o2, n2, co2 );
    drawWaterChart( goodh2o, badh2o );
    </script>
    
    {{else}}
    Loading...
    {{/if}}
    <canvas id="air-chart" width="190" height="190"></canvas>
    <canvas id="water-chart" width="190" height="190"></canvas>
  </div>
</div>
</template>
Add rounding to latest chart
Add rounding to latest chart
