set height canvas graph & fix graph display
This commit is contained in:
parent
6ebea6557c
commit
31261fd376
2 changed files with 3 additions and 3 deletions
|
@ -138,7 +138,7 @@
|
||||||
var prev_chart = content.children();
|
var prev_chart = content.children();
|
||||||
|
|
||||||
// creates a blank canvas element and attach it to the DOM
|
// creates a blank canvas element and attach it to the DOM
|
||||||
var canvas = $("<canvas>");
|
var canvas = $("<canvas height='70'>");
|
||||||
content.append(canvas);
|
content.append(canvas);
|
||||||
|
|
||||||
// create the chart
|
// create the chart
|
||||||
|
|
|
@ -75,7 +75,7 @@ $(document).ready(function() {
|
||||||
<div class="col-sm-12 nopadding">
|
<div class="col-sm-12 nopadding">
|
||||||
<div class="panel-md-margin">
|
<div class="panel-md-margin">
|
||||||
<h3>Ma balance</h3>
|
<h3>Ma balance</h3>
|
||||||
<div id="stat_balance" class="stat-graph"></div>
|
<div id="stat_balance"></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div><!-- /row -->
|
</div><!-- /row -->
|
||||||
|
@ -83,7 +83,7 @@ $(document).ready(function() {
|
||||||
<div class="col-sm-12 nopadding">
|
<div class="col-sm-12 nopadding">
|
||||||
<div class="panel-md-margin">
|
<div class="panel-md-margin">
|
||||||
<h3>Ma consommation</h3>
|
<h3>Ma consommation</h3>
|
||||||
<div id="stat_last" class="stat-graph"></div>
|
<div id="stat_last"></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div><!-- /row -->
|
</div><!-- /row -->
|
||||||
|
|
Loading…
Reference in a new issue