Fix canvas things.

This commit is contained in:
James Cole
2017-04-29 08:56:08 +02:00
parent aaeae992e1
commit 5f19cb1c0c
12 changed files with 48 additions and 48 deletions

View File

@@ -76,8 +76,8 @@
<h3 class="box-title">{{ 'expense_per_budget'|_ }}</h3>
</div>
<div class="box-body">
<div style="width:75%;margin:0 auto;">
<canvas id="budgets-out-pie-chart" style="margin:0 auto;"></canvas>
<div style="width:100%;margin:0 auto;">
<canvas id="budgets-out-pie-chart" style="width:100%;height:250px;" height="250"></canvas>
</div>
<label style="font-weight:normal;">
<input type="checkbox" id="budgets-out-pie-chart-checked">
@@ -93,8 +93,8 @@
<h3 class="box-title">{{ 'expense_per_account'|_ }}</h3>
</div>
<div class="box-body">
<div style="width:75%;margin:0 auto;">
<canvas id="accounts-out-pie-chart" style="margin:0 auto;"></canvas>
<div style="width:100%;margin:0 auto;">
<canvas id="accounts-out-pie-chart" style="width:100%;height:250px;" height="250"></canvas>
</div>
<label style="font-weight:normal;">
<input type="checkbox" id="accounts-out-pie-chart-checked">
@@ -117,7 +117,7 @@
amount spent vs budget limit reps<br>
over the entire period the amount spent would rise and the budget limit rep would be like a heart beat jumping up and down<br>
needs to be two axes to work<br>#}
<canvas id="in-out-chart" style="margin:0 auto;" height="300"></canvas>
<canvas id="in-out-chart" style="width:100%;height:400px;" height="400" width="100%"></canvas>
</div>
</div>
</div>