diff options
| author | pliablepixels <pliablepixels@gmail.com> | 2016-04-10 10:47:35 -0400 |
|---|---|---|
| committer | pliablepixels <pliablepixels@gmail.com> | 2016-04-10 10:47:35 -0400 |
| commit | a29f9a676a6ea3bad56ede05cd1a1c82ffbbe8e9 (patch) | |
| tree | 7e6e6bfb23390a64344fdfe2272a5da04c2dd97c /www/lib/Chart.js/samples/doughnut.html | |
| parent | 42bc21f7d0b4acfeefa5f4c2708203be78f57778 (diff) | |
#219 - everything upgraded
Former-commit-id: 15f58d10df83feda8199a1b904433e625ef36b44
Diffstat (limited to 'www/lib/Chart.js/samples/doughnut.html')
| -rw-r--r-- | www/lib/Chart.js/samples/doughnut.html | 67 |
1 files changed, 0 insertions, 67 deletions
diff --git a/www/lib/Chart.js/samples/doughnut.html b/www/lib/Chart.js/samples/doughnut.html deleted file mode 100644 index fdf7539a..00000000 --- a/www/lib/Chart.js/samples/doughnut.html +++ /dev/null @@ -1,67 +0,0 @@ -<!doctype html> -<html> - <head> - <title>Doughnut Chart</title> - <script src="../Chart.js"></script> - <style> - body{ - padding: 0; - margin: 0; - } - #canvas-holder{ - width:30%; - } - </style> - </head> - <body> - <div id="canvas-holder"> - <canvas id="chart-area" width="500" height="500"/> - </div> - - - <script> - - var doughnutData = [ - { - value: 300, - color:"#F7464A", - highlight: "#FF5A5E", - label: "Red" - }, - { - value: 50, - color: "#46BFBD", - highlight: "#5AD3D1", - label: "Green" - }, - { - value: 100, - color: "#FDB45C", - highlight: "#FFC870", - label: "Yellow" - }, - { - value: 40, - color: "#949FB1", - highlight: "#A8B3C5", - label: "Grey" - }, - { - value: 120, - color: "#4D5360", - highlight: "#616774", - label: "Dark Grey" - } - - ]; - - window.onload = function(){ - var ctx = document.getElementById("chart-area").getContext("2d"); - window.myDoughnut = new Chart(ctx).Doughnut(doughnutData, {responsive : true}); - }; - - - - </script> - </body> -</html> |
