Debian Codegraph @

dojox/charting/tests/BidiSupport/mirror_pie2d_zeroslice.html

raw symbols SCIP
1 <!--[if IE 7]>
2 <!DOCTYPE>
3 <html lang="en">
4 <head>
5 <![endif]-->
6 <!--[if IE 8]>
7 <!DOCTYPE>
8 <html lang="en">
9 <head>
10 <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7"/>
11 <![endif]-->
12 <![if gte IE 9]>
13 <!DOCTYPE HTML>
14 <html lang="en">
15 <head>
16 <![endif]>
17 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
18 <title>Pie 2D</title>
19 <style type="text/css">
20 @import "../../../../dojo/resources/dojo.css";
21 @import "../../../../dijit/tests/css/dijitTests.css";
22 </style>
23 <script type="text/javascript" src="../../../../dojo/dojo.js" data-dojo-config="isDebug: true, has:{'dojo-bidi': true}"></script>
24 <script type="text/javascript">
25
26 dojo.require("dojox.charting.Chart");
27 dojo.require("dojox.charting.widget.Legend");
28 dojo.require("dojox.charting.plot2d.Pie");
29 dojo.require("dojox.charting.themes.PlotKit.blue");
30 dojo.require("dojox.charting.themes.PlotKit.green");
31 dojo.require("dojox.charting.themes.PlotKit.red");
32 dojo.require("dojox.charting.themes.Adobebricks");
33 dojo.require("dojox.charting.themes.Algae");
34 makeObjects = function(){
35 var chart1 = new dojox.charting.Chart("test1");
36 chart1.setTheme(dojox.charting.themes.PlotKit.blue);
37 chart1.addPlot("default", {
38 type: "Pie",
39 font: "normal normal bold 12pt Tahoma",
40 fontColor: "white",
41 labelOffset: 40
42 });
43 chart1.addSeries("Series A", [4, 3, 0, 2]);
44 chart1.setDir("rtl");
45 chart1.render();
46
47 var legend = new dojox.charting.widget.Legend({
48 chart: chart1,
49 horizontal:false
50 }, "legend");
51 };
52
53 dojo.addOnLoad(makeObjects);
54
55 </script>
56 </head>
57 <body>
58 <h1>Pie 2D</h1>
59 <!--<p><button onclick="makeObjects();">Go</button></p>-->
60 <p>Pie with a 0 slice</p>
61 <div id="test1" style="width: 300px; height: 300px;"></div>
62 <div id="legend"></div>
63 <p>That's all Folks!</p>
64 </body>
65 </html>