Added working doughnut chart to portfolio

This commit is contained in:
Nathan Parikh
2017-09-12 00:22:21 -05:00
parent 0f92fb17f5
commit 1207f6a09d
2 changed files with 77 additions and 4 deletions

View File

@@ -89,9 +89,8 @@
<div id="portfolio-total-value">Total Value: <span class="value"></span></div>
<!-- manual entry of quantity -->
<!-- grab coin prices same as above -->
<!-- show current portfolio value -->
<canvas id="myChart" width="400" height="400"></canvas>
<!-- show what % each coin is of portfolio -->
<!-- Enter avg. purchase price for each coin -->
@@ -106,4 +105,5 @@
</script>
<script src="js/app_common.js"></script>
<script src="js/html.sortable.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.7.0/Chart.min.js"></script>
</html>