From 770ba5201f5c60b2bb36602ff9d359f641e33125 Mon Sep 17 00:00:00 2001 From: Yves Fischer Date: Sun, 23 Oct 2011 21:14:40 +0200 Subject: Charting with flask, rgraph and custom "timeseries database" --- schall/static/RGraph/docs/donut.html | 113 +++++++++++++++++++++++++++++++++++ 1 file changed, 113 insertions(+) create mode 100644 schall/static/RGraph/docs/donut.html (limited to 'schall/static/RGraph/docs/donut.html') diff --git a/schall/static/RGraph/docs/donut.html b/schall/static/RGraph/docs/donut.html new file mode 100644 index 0000000..a8f812f --- /dev/null +++ b/schall/static/RGraph/docs/donut.html @@ -0,0 +1,113 @@ + + + + + + RGraph: HTML5 Javascript charts library - donut charts documentation + + + + + + + + + + + + + + + + + + + + +
+ + Mention RGraph on Twitter + +
+ + + +
+ + +
+ + + + +

RGraph: HTML5 Javascript charts library - Donut charts documentation

+ + + +

+ Donut charts were formerly separate charts, however it's now simply a variant of the Pie chart. +

+ +
+<script>
+    window.onload = function ()
+    {
+        var data = [45,57,48,32];
+    
+        var donut = new RGraph.Pie('myDonut', data);
+        donut.Set('chart.labels', ['Jan', 'Ben', 'Mark', 'Lucy']);
+        donut.Set('chart.linewidth', 5);
+        donut.Set('chart.strokestyle', 'white');
+        donut.Set('chart.tooltips', ['Jan', 'Ben', 'Mark', 'Lucy']);
+        donut.Set('chart.variant', 'donut');
+        donut.Draw();
+    }
+</script>
+
+ + + + + \ No newline at end of file -- cgit v1.2.1