]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Doughnut.color is outdated. Removing for now.
authorTanner Linsley <tannerlinsley@gmail.com>
Thu, 24 Sep 2015 19:01:07 +0000 (13:01 -0600)
committerTanner Linsley <tannerlinsley@gmail.com>
Thu, 24 Sep 2015 19:01:07 +0000 (13:01 -0600)
samples/doughnut.color.html [deleted file]

diff --git a/samples/doughnut.color.html b/samples/doughnut.color.html
deleted file mode 100644 (file)
index f61c25d..0000000
+++ /dev/null
@@ -1,63 +0,0 @@
-<!doctype html>
-<html>
-       <head>
-               <title>Doughnut Chart</title>
-               <script src="../src/Chart.Core.js"></script>
-               <script src="../src/Chart.Doughnut.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: 1,
-                                       label: "One"
-                               },
-                               {
-                                       value: 2,
-                                       label: "Two"
-                               },
-                               {
-                                       value: 3,
-                                       label: "Three"
-                               },
-                               {
-                                       value: 4,
-                                       label: "Four"
-                               },
-                               {
-                                       value: 5,
-                                       label: "Five"
-                               }
-
-                       ];
-
-                       window.onload = function(){
-                               var ctx = document.getElementById("chart-area").getContext("2d");
-                               window.myDoughnut = new Chart(ctx).Doughnut({
-                                       data: doughnutData, 
-                                       options: {
-                                               responsive : true
-                                       }
-                               });
-                       };
-
-
-
-       </script>
-       </body>
-</html>