Commit c4958ff5 authored by Kristian Tan's avatar Kristian Tan

graph styling

parent 0cd43108
...@@ -60,4 +60,8 @@ body { ...@@ -60,4 +60,8 @@ body {
width: 70%; width: 70%;
height: 50%; height: 50%;
margin-left: 25%; margin-left: 25%;
}
.chart_title {
text-decoration: underline;
} }
\ No newline at end of file
...@@ -47,8 +47,9 @@ ...@@ -47,8 +47,9 @@
{% endfor %} {% endfor %}
</ul> </ul>
<div class="chart"> {# <div class="chart">#}
<canvas id="chart"></canvas> <h3 class="chart_title">Last weeks usage</h3>
<canvas id="chart" class="chart" ></canvas>
<script> <script>
// bar chart data // bar chart data
var barData = { var barData = {
...@@ -87,7 +88,7 @@ ...@@ -87,7 +88,7 @@
); );
</script> </script>
</div> {# </div>#}
</div> </div>
</div> </div>
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment