commenting out LDR grapghs

application-manager-new
Rasika 10 years ago
parent b009287929
commit 0fb4af8a42

@ -42,14 +42,14 @@
<hr> <hr>
</div> </div>
<div class="row margin-double padding-double "></div> <div class="row margin-double padding-double "></div>
<div class="row margin-double"> <!--<div class="row margin-double">-->
<div class="chart2"> <!--<div class="chart2">-->
<h2 class="grey ">Light</h2> <!--<h2 class="grey ">Light</h2>-->
<hr> <!--<hr>-->
<svg></svg> <!--<svg></svg>-->
</div> <!--</div>-->
<hr> <!--<hr>-->
</div> <!--</div>-->
<div class="row margin-double"> <div class="row margin-double">
<div class="chart3"> <div class="chart3">
<h2 class="grey ">Motion</h2> <h2 class="grey ">Motion</h2>

@ -53,8 +53,9 @@ function updateLightGraph(lightData) {
var chartData = getLightChartData(); var chartData = getLightChartData();
chartData[0]['values'] = lightData; chartData[0]['values'] = lightData;
d3.select('.chart2 svg') //TODO
.datum(chartData) //d3.select('.chart2 svg')
.transition().duration(500) // .datum(chartData)
.call(lightChart); // .transition().duration(500)
// .call(lightChart);
} }
Loading…
Cancel
Save