Skip to content

Commit 00f5efd

Browse files
committed
Fix chart to look better
1 parent 53e3495 commit 00f5efd

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

pubstorm.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"name":"copilot","path":"dist"}

src/components/dash/Dashboard.vue

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,10 @@
6868
<!-- /.row -->
6969

7070
<div class='row'>
71-
<div class='col-md-12'>
71+
<div class='col-md-12 text-center'>
72+
<canvas id="canvas" height="300" width="800"></canvas>
7273
<div>
73-
<canvas id="canvas" height="450" width="600"></canvas>
74+
7475
</div>
7576
</div>
7677
</div>
@@ -188,7 +189,7 @@ module.exports = {
188189
]
189190
}
190191
191-
new Chart(ctx).Line(data, {responsive: true})
192+
new Chart(ctx).Line(data, {responsive: false})
192193
}
193194
}
194195
</script>

0 commit comments

Comments
 (0)