forked from DGNum/gestioCOF
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();
|
||||
|
||||
// creates a blank canvas element and attach it to the DOM
|
||||
var canvas = $("<canvas>");
|
||||
var canvas = $("<canvas height='70'>");
|
||||
content.append(canvas);
|
||||
|
||||
// create the chart
|
||||
|
|
|
@ -75,7 +75,7 @@ $(document).ready(function() {
|
|||
<div class="col-sm-12 nopadding">
|
||||
<div class="panel-md-margin">
|
||||
<h3>Ma balance</h3>
|
||||
<div id="stat_balance" class="stat-graph"></div>
|
||||
<div id="stat_balance"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- /row -->
|
||||
|
@ -83,7 +83,7 @@ $(document).ready(function() {
|
|||
<div class="col-sm-12 nopadding">
|
||||
<div class="panel-md-margin">
|
||||
<h3>Ma consommation</h3>
|
||||
<div id="stat_last" class="stat-graph"></div>
|
||||
<div id="stat_last"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- /row -->
|
||||
|
|
Loading…
Reference in a new issue