pieTest4.html
8.76 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
<!DOCTYPE html>
<html>
<head>
<title>Pie Charts and Options 2</title>
<link class="include" rel="stylesheet" type="text/css" href="../jquery.jqplot.min.css" />
<link rel="stylesheet" type="text/css" href="examples.min.css" />
<link type="text/css" rel="stylesheet" href="syntaxhighlighter/styles/shCoreDefault.min.css" />
<link type="text/css" rel="stylesheet" href="syntaxhighlighter/styles/shThemejqPlot.min.css" />
<!--[if lt IE 9]><script language="javascript" type="text/javascript" src="../excanvas.js"></script><![endif]-->
<script class="include" type="text/javascript" src="../jquery.min.js"></script>
</head>
<body>
<div class="logo">
<div class="nav">
<a class="nav" href="../../../index.php"><span>></span>Home</a>
<a class="nav" href="../../../docs/"><span>></span>Docs</a>
<a class="nav" href="../../download/"><span>></span>Download</a>
<a class="nav" href="../../../info.php"><span>></span>Info</a>
<a class="nav" href="../../../donate.php"><span>></span>Donate</a>
</div>
</div>
<div class="example-content">
<div class="example-nav">
<a href="pieTest.html">Previous</a> <a href="./">Examples</a> <a href="point-labels.html">Next</a></div>
<!-- Example scripts go here -->
<div id="chart1" style="margin-top:20px; margin-left:20px; width:460px; height:300px;"></div>
<pre class="code brush:js"></pre>
<div id="chart2" style="margin-top:20px; margin-left:20px; width:460px; height:300px;"></div>
<pre class="code brush:js"></pre>
<div id="chart3" style="margin-top:20px; margin-left:20px; width:460px; height:300px;"></div>
<pre class="code brush:js"></pre>
<div id="chart4" style="margin-top:20px; margin-left:20px; width:460px; height:300px;"></div>
<pre class="code brush:js"></pre>
<div id="chart5" style="margin-top:20px; margin-left:20px; width:460px; height:300px;"></div>
<pre class="code brush:js"></pre>
<div id="chart6" style="margin-top:20px; margin-left:20px; width:460px; height:300px;"></div>
<pre class="code brush:js"></pre>
<div id="chart7" style="margin-top:20px; margin-left:20px; width:460px; height:300px;"></div>
<pre class="code brush:js"></pre>
<div id="chart8" style="margin-top:20px; margin-left:20px; width:460px; height:300px;"></div>
<pre class="code brush:js"></pre>
<div id="chart9" style="margin-top:20px; margin-left:20px; width:460px; height:300px;"></div>
<pre class="code brush:js"></pre>
<div id="chart10" style="margin-top:20px; margin-left:20px; width:460px; height:300px;"></div>
<pre class="code brush:js"></pre>
<script class="code" type="text/javascript">$(document).ready(function(){
jQuery.jqplot.config.enablePlugins = true;
plot1 = jQuery.jqplot('chart1',
[[['Verwerkende FruedenStunde Companaziert Eine industrie', 9],['Retail', 8], ['Primaire producent', 7],
['Out of home', 6],['Groothandel', 5], ['Grondstof', 4], ['Consument', 3], ['Bewerkende industrie', 2]]],
{
title: ' ',
seriesDefaults: {
shadow: false,
renderer: jQuery.jqplot.PieRenderer,
rendererOptions: { padding: 2, sliceMargin: 2, showDataLabels: false }
},
legend: { show:true, location: 'e' }
}
);
});
</script>
<script class="code" type="text/javascript">$(document).ready(function(){
plot2 = jQuery.jqplot('chart2',
[[['Verwerkende industrie', 9],['Retail', 0], ['Primaire producent', 0],
['Out of home', 0],['Groothandel', 0], ['Grondstof', 0], ['Consument', 3], ['Bewerkende industrie', 2]]],
{
title: ' ',
seriesDefaults: {
shadow: false,
renderer: jQuery.jqplot.PieRenderer,
rendererOptions: {
startAngle: 180,
sliceMargin: 4,
showDataLabels: true }
},
legend: { show:true, location: 'w' }
}
);
});
</script>
<script class="code" type="text/javascript">$(document).ready(function(){
plot3 = jQuery.jqplot('chart3',
[[['Verwerkende industrie', 9],['Retail', 0], ['Primaire producent', 0],
['Out of home', 0],['Groothandel', 0], ['Grondstof', 0], ['Consument', 0], ['Bewerkende industrie', 2]]],
{
title: ' ',
seriesDefaults: {
shadow: false,
renderer: jQuery.jqplot.PieRenderer,
rendererOptions: {
sliceMargin: 4,
showDataLabels: true
}
},
legend: { show:true, location: 'e' }
}
);
});
</script>
<script class="code" type="text/javascript">$(document).ready(function(){
plot4 = jQuery.jqplot('chart4',
[[['Verwerkende industrie', 30],['Retail', 0], ['Primaire producent', 0],
['Out of home', 0],['Groothandel', 0], ['Grondstof', 0], ['Consument', 0], ['Bewerkende industrie', 1]]],
{
title: ' ',
seriesDefaults: {shadow: false, renderer: jQuery.jqplot.PieRenderer, rendererOptions: { sliceMargin: 4, showDataLabels: true } },
legend: { show:true, location: 'e' }
}
);
});
</script>
<script class="code" type="text/javascript">$(document).ready(function(){
plot5 = jQuery.jqplot('chart5',
[[['Verwerkende industrie', 100],['Retail', 0], ['Primaire producent', 0],
['Out of home', 0],['Groothandel', 0], ['Grondstof', 0], ['Consument', 0], ['Bewerkende industrie', 1]]],
{
title: ' ',
seriesDefaults: {shadow: false, renderer: jQuery.jqplot.PieRenderer, rendererOptions: { sliceMargin: 4, showDataLabels: true } },
legend: { show:true }
}
);
});
</script>
<script class="code" type="text/javascript">$(document).ready(function(){
plot6 = jQuery.jqplot('chart6',
[[['Verwerkende industrie', 100]]],
{
title: ' ',
seriesDefaults: {shadow: false, renderer: jQuery.jqplot.PieRenderer, rendererOptions: { sliceMargin: 4, showDataLabels: true } },
legend: { show:true }
}
);
});
</script>
<script class="code" type="text/javascript">$(document).ready(function(){
jQuery.jqplot.config.enablePlugins = true;
plot7 = jQuery.jqplot('chart7',
[[['Verwerkende industrie', 9],['Retail', 8], ['Primaire producent', 7],
['Out of home', 6],['Groothandel', 5], ['Grondstof', 4], ['Consument', 3], ['Bewerkende industrie', 2]]],
{
title: ' ',
seriesDefaults: {shadow: true, renderer: jQuery.jqplot.PieRenderer, rendererOptions: { showDataLabels: true } },
legend: { show:true }
}
);
});
</script>
<script class="code" type="text/javascript">$(document).ready(function(){
plot8 = jQuery.jqplot('chart8',
[[['Verwerkende industrie', 100],['Retail', 0], ['Primaire producent', 0],
['Out of home', 0],['Groothandel', 0], ['Grondstof', 0], ['Consument', 0], ['Bewerkende industrie', 1]]],
{
title: ' ',
seriesDefaults: {shadow: true, renderer: jQuery.jqplot.PieRenderer, rendererOptions: { showDataLabels: true } },
legend: { show:true }
}
);
});
</script>
<script class="code" type="text/javascript">$(document).ready(function(){
jQuery.jqplot.config.enablePlugins = true;
plot9 = jQuery.jqplot('chart9',
[[['Verwerkende industrie', 9],['Retail', 8], ['Primaire producent', 7],
['Out of home', 6],['Groothandel', 5], ['Grondstof', 4], ['Consument', 3], ['Bewerkende industrie', 2]]],
{
title: ' ',
seriesDefaults: {shadow: true, renderer: jQuery.jqplot.PieRenderer, rendererOptions: {
fill: false,
sliceMargin: 4,
showDataLabels: true
}
},
legend: { show:true }
}
);
});
</script>
<script class="code" type="text/javascript">$(document).ready(function(){
plot10 = jQuery.jqplot('chart10',
[[['Verwerkende industrie', 100],['Retail', 0], ['Primaire producent', 0],
['Out of home', 0],['Groothandel', 0], ['Grondstof', 0], ['Consument', 0], ['Bewerkende industrie', 1]]],
{
title: ' ',
seriesDefaults: {shadow: true, renderer: jQuery.jqplot.PieRenderer, rendererOptions: {
fill: false,
sliceMargin: 4,
showDataLabels: true
}
},
legend: { show:true }
}
);
});
</script>
<!-- End example scripts -->
<!-- Don't touch this! -->
<script class="include" type="text/javascript" src="../jquery.jqplot.min.js"></script>
<script type="text/javascript" src="syntaxhighlighter/scripts/shCore.min.js"></script>
<script type="text/javascript" src="syntaxhighlighter/scripts/shBrushJScript.min.js"></script>
<script type="text/javascript" src="syntaxhighlighter/scripts/shBrushXml.min.js"></script>
<!-- End Don't touch this! -->
<!-- Additional plugins go here -->
<script class="include" type="text/javascript" src="../plugins/jqplot.pieRenderer.min.js"></script>
<!-- End additional plugins -->
</div>
<script type="text/javascript" src="example.min.js"></script>
</body>
</html>