| 875 |
lars |
1 |
<!DOCTYPE html>
|
|
|
2 |
|
|
|
3 |
<html>
|
|
|
4 |
<head>
|
|
|
5 |
|
|
|
6 |
<title>Pie Charts and Options 2</title>
|
|
|
7 |
|
|
|
8 |
<link class="include" rel="stylesheet" type="text/css" href="../jquery.jqplot.min.css" />
|
|
|
9 |
<link rel="stylesheet" type="text/css" href="examples.min.css" />
|
|
|
10 |
<link type="text/css" rel="stylesheet" href="syntaxhighlighter/styles/shCoreDefault.min.css" />
|
|
|
11 |
<link type="text/css" rel="stylesheet" href="syntaxhighlighter/styles/shThemejqPlot.min.css" />
|
|
|
12 |
|
|
|
13 |
<!--[if lt IE 9]><script language="javascript" type="text/javascript" src="../excanvas.js"></script><![endif]-->
|
|
|
14 |
<script class="include" type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
|
|
|
15 |
|
|
|
16 |
|
|
|
17 |
</head>
|
|
|
18 |
<body>
|
|
|
19 |
<div id="header">
|
|
|
20 |
<div class="nav">
|
|
|
21 |
<a class="nav" href="../../../index.php"><span>></span>Home</a>
|
|
|
22 |
<a class="nav" href="../../../docs/"><span>></span>Docs</a>
|
|
|
23 |
<a class="nav" href="../../download/"><span>></span>Download</a>
|
|
|
24 |
<a class="nav" href="../../../info.php"><span>></span>Info</a>
|
|
|
25 |
<a class="nav" href="../../../donate.php"><span>></span>Donate</a>
|
|
|
26 |
</div>
|
|
|
27 |
</div>
|
|
|
28 |
<div class="colmask leftmenu">
|
|
|
29 |
<div class="colleft">
|
|
|
30 |
<div class="col1" id="example-content">
|
|
|
31 |
|
|
|
32 |
|
|
|
33 |
<!-- Example scripts go here -->
|
|
|
34 |
|
|
|
35 |
<div id="chart1" style="margin-top:20px; margin-left:20px; width:460px; height:300px;"></div>
|
|
|
36 |
|
|
|
37 |
<pre class="code brush:js"></pre>
|
|
|
38 |
|
|
|
39 |
<div id="chart2" style="margin-top:20px; margin-left:20px; width:460px; height:300px;"></div>
|
|
|
40 |
|
|
|
41 |
<pre class="code brush:js"></pre>
|
|
|
42 |
|
|
|
43 |
<div id="chart3" style="margin-top:20px; margin-left:20px; width:460px; height:300px;"></div>
|
|
|
44 |
<pre class="code brush:js"></pre>
|
|
|
45 |
|
|
|
46 |
<div id="chart4" style="margin-top:20px; margin-left:20px; width:460px; height:300px;"></div>
|
|
|
47 |
<pre class="code brush:js"></pre>
|
|
|
48 |
|
|
|
49 |
<div id="chart5" style="margin-top:20px; margin-left:20px; width:460px; height:300px;"></div>
|
|
|
50 |
<pre class="code brush:js"></pre>
|
|
|
51 |
|
|
|
52 |
<div id="chart6" style="margin-top:20px; margin-left:20px; width:460px; height:300px;"></div>
|
|
|
53 |
<pre class="code brush:js"></pre>
|
|
|
54 |
|
|
|
55 |
<div id="chart7" style="margin-top:20px; margin-left:20px; width:460px; height:300px;"></div>
|
|
|
56 |
<pre class="code brush:js"></pre>
|
|
|
57 |
|
|
|
58 |
<div id="chart8" style="margin-top:20px; margin-left:20px; width:460px; height:300px;"></div>
|
|
|
59 |
<pre class="code brush:js"></pre>
|
|
|
60 |
|
|
|
61 |
<div id="chart9" style="margin-top:20px; margin-left:20px; width:460px; height:300px;"></div>
|
|
|
62 |
<pre class="code brush:js"></pre>
|
|
|
63 |
|
|
|
64 |
<div id="chart10" style="margin-top:20px; margin-left:20px; width:460px; height:300px;"></div>
|
|
|
65 |
<pre class="code brush:js"></pre>
|
|
|
66 |
|
|
|
67 |
<script class="code" type="text/javascript">$(document).ready(function(){
|
|
|
68 |
jQuery.jqplot.config.enablePlugins = true;
|
|
|
69 |
plot1 = jQuery.jqplot('chart1',
|
|
|
70 |
[[['Verwerkende FruedenStunde Companaziert Eine industrie', 9],['Retail', 8], ['Primaire producent', 7],
|
|
|
71 |
['Out of home', 6],['Groothandel', 5], ['Grondstof', 4], ['Consument', 3], ['Bewerkende industrie', 2]]],
|
|
|
72 |
{
|
|
|
73 |
title: ' ',
|
|
|
74 |
seriesDefaults: {
|
|
|
75 |
shadow: false,
|
|
|
76 |
renderer: jQuery.jqplot.PieRenderer,
|
|
|
77 |
rendererOptions: { padding: 2, sliceMargin: 2, showDataLabels: false }
|
|
|
78 |
},
|
|
|
79 |
legend: { show:true, location: 'e' }
|
|
|
80 |
}
|
|
|
81 |
);
|
|
|
82 |
});
|
|
|
83 |
</script>
|
|
|
84 |
|
|
|
85 |
|
|
|
86 |
<script class="code" type="text/javascript">$(document).ready(function(){
|
|
|
87 |
plot2 = jQuery.jqplot('chart2',
|
|
|
88 |
[[['Verwerkende industrie', 9],['Retail', 0], ['Primaire producent', 0],
|
|
|
89 |
['Out of home', 0],['Groothandel', 0], ['Grondstof', 0], ['Consument', 3], ['Bewerkende industrie', 2]]],
|
|
|
90 |
{
|
|
|
91 |
title: ' ',
|
|
|
92 |
seriesDefaults: {
|
|
|
93 |
shadow: false,
|
|
|
94 |
renderer: jQuery.jqplot.PieRenderer,
|
|
|
95 |
rendererOptions: {
|
|
|
96 |
startAngle: 180,
|
|
|
97 |
sliceMargin: 4,
|
|
|
98 |
showDataLabels: true }
|
|
|
99 |
},
|
|
|
100 |
legend: { show:true, location: 'w' }
|
|
|
101 |
}
|
|
|
102 |
);
|
|
|
103 |
});
|
|
|
104 |
</script>
|
|
|
105 |
|
|
|
106 |
<script class="code" type="text/javascript">$(document).ready(function(){
|
|
|
107 |
plot3 = jQuery.jqplot('chart3',
|
|
|
108 |
[[['Verwerkende industrie', 9],['Retail', 0], ['Primaire producent', 0],
|
|
|
109 |
['Out of home', 0],['Groothandel', 0], ['Grondstof', 0], ['Consument', 0], ['Bewerkende industrie', 2]]],
|
|
|
110 |
{
|
|
|
111 |
title: ' ',
|
|
|
112 |
seriesDefaults: {
|
|
|
113 |
shadow: false,
|
|
|
114 |
renderer: jQuery.jqplot.PieRenderer,
|
|
|
115 |
rendererOptions: {
|
|
|
116 |
sliceMargin: 4,
|
|
|
117 |
showDataLabels: true
|
|
|
118 |
}
|
|
|
119 |
},
|
|
|
120 |
legend: { show:true, location: 'e' }
|
|
|
121 |
}
|
|
|
122 |
);
|
|
|
123 |
|
|
|
124 |
|
|
|
125 |
});
|
|
|
126 |
</script>
|
|
|
127 |
|
|
|
128 |
<script class="code" type="text/javascript">$(document).ready(function(){
|
|
|
129 |
plot4 = jQuery.jqplot('chart4',
|
|
|
130 |
[[['Verwerkende industrie', 30],['Retail', 0], ['Primaire producent', 0],
|
|
|
131 |
['Out of home', 0],['Groothandel', 0], ['Grondstof', 0], ['Consument', 0], ['Bewerkende industrie', 1]]],
|
|
|
132 |
{
|
|
|
133 |
title: ' ',
|
|
|
134 |
seriesDefaults: {shadow: false, renderer: jQuery.jqplot.PieRenderer, rendererOptions: { sliceMargin: 4, showDataLabels: true } },
|
|
|
135 |
legend: { show:true, location: 'e' }
|
|
|
136 |
}
|
|
|
137 |
);
|
|
|
138 |
|
|
|
139 |
|
|
|
140 |
});
|
|
|
141 |
</script>
|
|
|
142 |
|
|
|
143 |
<script class="code" type="text/javascript">$(document).ready(function(){
|
|
|
144 |
plot5 = jQuery.jqplot('chart5',
|
|
|
145 |
[[['Verwerkende industrie', 100],['Retail', 0], ['Primaire producent', 0],
|
|
|
146 |
['Out of home', 0],['Groothandel', 0], ['Grondstof', 0], ['Consument', 0], ['Bewerkende industrie', 1]]],
|
|
|
147 |
{
|
|
|
148 |
title: ' ',
|
|
|
149 |
seriesDefaults: {shadow: false, renderer: jQuery.jqplot.PieRenderer, rendererOptions: { sliceMargin: 4, showDataLabels: true } },
|
|
|
150 |
legend: { show:true }
|
|
|
151 |
}
|
|
|
152 |
);
|
|
|
153 |
});
|
|
|
154 |
</script>
|
|
|
155 |
|
|
|
156 |
<script class="code" type="text/javascript">$(document).ready(function(){
|
|
|
157 |
plot6 = jQuery.jqplot('chart6',
|
|
|
158 |
[[['Verwerkende industrie', 100]]],
|
|
|
159 |
{
|
|
|
160 |
title: ' ',
|
|
|
161 |
seriesDefaults: {shadow: false, renderer: jQuery.jqplot.PieRenderer, rendererOptions: { sliceMargin: 4, showDataLabels: true } },
|
|
|
162 |
legend: { show:true }
|
|
|
163 |
}
|
|
|
164 |
);
|
|
|
165 |
});
|
|
|
166 |
</script>
|
|
|
167 |
|
|
|
168 |
<script class="code" type="text/javascript">$(document).ready(function(){
|
|
|
169 |
jQuery.jqplot.config.enablePlugins = true;
|
|
|
170 |
plot7 = jQuery.jqplot('chart7',
|
|
|
171 |
[[['Verwerkende industrie', 9],['Retail', 8], ['Primaire producent', 7],
|
|
|
172 |
['Out of home', 6],['Groothandel', 5], ['Grondstof', 4], ['Consument', 3], ['Bewerkende industrie', 2]]],
|
|
|
173 |
{
|
|
|
174 |
title: ' ',
|
|
|
175 |
seriesDefaults: {shadow: true, renderer: jQuery.jqplot.PieRenderer, rendererOptions: { showDataLabels: true } },
|
|
|
176 |
legend: { show:true }
|
|
|
177 |
}
|
|
|
178 |
);
|
|
|
179 |
});
|
|
|
180 |
</script>
|
|
|
181 |
|
|
|
182 |
<script class="code" type="text/javascript">$(document).ready(function(){
|
|
|
183 |
plot8 = jQuery.jqplot('chart8',
|
|
|
184 |
[[['Verwerkende industrie', 100],['Retail', 0], ['Primaire producent', 0],
|
|
|
185 |
['Out of home', 0],['Groothandel', 0], ['Grondstof', 0], ['Consument', 0], ['Bewerkende industrie', 1]]],
|
|
|
186 |
{
|
|
|
187 |
title: ' ',
|
|
|
188 |
seriesDefaults: {shadow: true, renderer: jQuery.jqplot.PieRenderer, rendererOptions: { showDataLabels: true } },
|
|
|
189 |
legend: { show:true }
|
|
|
190 |
}
|
|
|
191 |
);
|
|
|
192 |
});
|
|
|
193 |
</script>
|
|
|
194 |
|
|
|
195 |
<script class="code" type="text/javascript">$(document).ready(function(){
|
|
|
196 |
jQuery.jqplot.config.enablePlugins = true;
|
|
|
197 |
plot9 = jQuery.jqplot('chart9',
|
|
|
198 |
[[['Verwerkende industrie', 9],['Retail', 8], ['Primaire producent', 7],
|
|
|
199 |
['Out of home', 6],['Groothandel', 5], ['Grondstof', 4], ['Consument', 3], ['Bewerkende industrie', 2]]],
|
|
|
200 |
{
|
|
|
201 |
title: ' ',
|
|
|
202 |
seriesDefaults: {shadow: true, renderer: jQuery.jqplot.PieRenderer, rendererOptions: {
|
|
|
203 |
fill: false,
|
|
|
204 |
sliceMargin: 4,
|
|
|
205 |
showDataLabels: true
|
|
|
206 |
}
|
|
|
207 |
},
|
|
|
208 |
legend: { show:true }
|
|
|
209 |
}
|
|
|
210 |
);
|
|
|
211 |
});
|
|
|
212 |
</script>
|
|
|
213 |
|
|
|
214 |
<script class="code" type="text/javascript">$(document).ready(function(){
|
|
|
215 |
plot10 = jQuery.jqplot('chart10',
|
|
|
216 |
[[['Verwerkende industrie', 100],['Retail', 0], ['Primaire producent', 0],
|
|
|
217 |
['Out of home', 0],['Groothandel', 0], ['Grondstof', 0], ['Consument', 0], ['Bewerkende industrie', 1]]],
|
|
|
218 |
{
|
|
|
219 |
title: ' ',
|
|
|
220 |
seriesDefaults: {shadow: true, renderer: jQuery.jqplot.PieRenderer, rendererOptions: {
|
|
|
221 |
fill: false,
|
|
|
222 |
sliceMargin: 4,
|
|
|
223 |
showDataLabels: true
|
|
|
224 |
}
|
|
|
225 |
},
|
|
|
226 |
legend: { show:true }
|
|
|
227 |
}
|
|
|
228 |
);
|
|
|
229 |
});
|
|
|
230 |
</script>
|
|
|
231 |
|
|
|
232 |
|
|
|
233 |
<!-- End example scripts -->
|
|
|
234 |
|
|
|
235 |
<!-- Don't touch this! -->
|
|
|
236 |
|
|
|
237 |
|
|
|
238 |
<script class="include" type="text/javascript" src="../jquery.jqplot.min.js"></script>
|
|
|
239 |
<script type="text/javascript" src="syntaxhighlighter/scripts/shCore.min.js"></script>
|
|
|
240 |
<script type="text/javascript" src="syntaxhighlighter/scripts/shBrushJScript.min.js"></script>
|
|
|
241 |
<script type="text/javascript" src="syntaxhighlighter/scripts/shBrushXml.min.js"></script>
|
|
|
242 |
<!-- End Don't touch this! -->
|
|
|
243 |
|
|
|
244 |
<!-- Additional plugins go here -->
|
|
|
245 |
|
|
|
246 |
<script class="include" type="text/javascript" src="../plugins/jqplot.pieRenderer.min.js"></script>
|
|
|
247 |
|
|
|
248 |
<!-- End additional plugins -->
|
|
|
249 |
|
|
|
250 |
</div>
|
|
|
251 |
<div class="col2">
|
|
|
252 |
|
|
|
253 |
<div class="example-link"><a class="example-link" href="data-renderers.html">AJAX and JSON Data Loading via Data Renderers</a></div>
|
|
|
254 |
<div class="example-link"><a class="example-link" href="barLineAnimated.html">Animated Charts</a></div>
|
|
|
255 |
<div class="example-link"><a class="example-link" href="dashboardWidget.html">Animated Dashboard Sample - Filled Line with Log Axis</a></div>
|
|
|
256 |
<div class="example-link"><a class="example-link" href="kcp_area.html">Area Chart</a></div>
|
|
|
257 |
<div class="example-link"><a class="example-link" href="kcp_area2.html">Area Chart 2</a></div>
|
|
|
258 |
<div class="example-link"><a class="example-link" href="axisLabelTests.html">Axis Labels</a></div>
|
|
|
259 |
<div class="example-link"><a class="example-link" href="axisLabelsRotatedText.html">Axis Labels and Rotated Text</a></div>
|
|
|
260 |
<div class="example-link"><a class="example-link" href="barTest.html">Bar Charts</a></div>
|
|
|
261 |
<div class="example-link"><a class="example-link" href="multipleBarColors.html">Bar Colors Example</a></div>
|
|
|
262 |
<div class="example-link"><a class="example-link" href="bezierCurve.html">Bezier Curve Plots</a></div>
|
|
|
263 |
<div class="example-link"><a class="example-link" href="blockPlot.html">Block Plots</a></div>
|
|
|
264 |
<div class="example-link"><a class="example-link" href="bubbleChart.html">Bubble Charts</a></div>
|
|
|
265 |
<div class="example-link"><a class="example-link" href="bubble-plots.html">Bubble Plots</a></div>
|
|
|
266 |
<div class="example-link"><a class="example-link" href="candlestick.html">Candlestick and Open Hi Low Close Charts</a></div>
|
|
|
267 |
<div class="example-link"><a class="example-link" href="theming.html">Chart Theming</a></div>
|
|
|
268 |
<div class="example-link"><a class="example-link" href="fillBetweenLines.html">Charts with Fill Between Lines</a></div>
|
|
|
269 |
<div class="example-link"><a class="example-link" href="kcp_cdf.html">Cumulative Density Function Chart</a></div>
|
|
|
270 |
<div class="example-link"><a class="example-link" href="dashedLines.html">Dashed Lines with Smoothing</a></div>
|
|
|
271 |
<div class="example-link"><a class="example-link" href="cursor-highlighter.html">Data Point Highlighting, Tooltips and Cursor Tracking</a></div>
|
|
|
272 |
<div class="example-link"><a class="example-link" href="point-labels.html">Data Point labels</a></div>
|
|
|
273 |
<div class="example-link"><a class="example-link" href="date-axes.html">Date Axes</a></div>
|
|
|
274 |
<div class="example-link"><a class="example-link" href="dateAxisRenderer.html">Date Axes 2</a></div>
|
|
|
275 |
<div class="example-link"><a class="example-link" href="rotatedTickLabelsZoom.html">Date Axes, Rotated Labels and Zooming</a></div>
|
|
|
276 |
<div class="example-link"><a class="example-link" href="canvas-overlay.html">Draw Lines on Plots - Canvas Overlay</a></div>
|
|
|
277 |
<div class="example-link"><a class="example-link" href="draw-rectangles.html">Draw Rectangles on Plots</a></div>
|
|
|
278 |
<div class="example-link"><a class="example-link" href="kcp_engel.html">Engel Curves</a></div>
|
|
|
279 |
<div class="example-link"><a class="example-link" href="bandedLine.html">Error Bands and Confidence Intervals</a></div>
|
|
|
280 |
<div class="example-link"><a class="example-link" href="area.html">Filled (Area) Charts</a></div>
|
|
|
281 |
<div class="example-link"><a class="example-link" href="axisScalingForceTickAt.html">Force Plot to Have Tick at 0 or 100</a></div>
|
|
|
282 |
<div class="example-link"><a class="example-link" href="hiddenPlotsInTabs.html">Hidden Plots</a></div>
|
|
|
283 |
<div class="example-link"><a class="example-link" href="customHighlighterCursorTrendline.html">Highlighting, Dragging Points, Cursor and Trend Lines</a></div>
|
|
|
284 |
<div class="example-link"><a class="example-link" href="line-charts.html">Line Charts and Options</a></div>
|
|
|
285 |
<div class="example-link"><a class="example-link" href="kcp_lorenz.html">Lorenz Curves</a></div>
|
|
|
286 |
<div class="example-link"><a class="example-link" href="mekkoCharts.html">Mekko Charts</a></div>
|
|
|
287 |
<div class="example-link"><a class="example-link" href="meterGauge.html">Meter Gauge</a></div>
|
|
|
288 |
<div class="example-link"><a class="example-link" href="candlestick-charts.html">Open Hi Low Close and Candlestick Charts</a></div>
|
|
|
289 |
<div class="example-link"><a class="example-link" href="pieTest.html">Pie Charts and Options</a></div>
|
|
|
290 |
<div class="example-link"><a class="example-link" href="pieTest4.html">Pie Charts and Options 2</a></div>
|
|
|
291 |
<div class="example-link"><a class="example-link" href="pie-donut-charts.html">Pie and Donut Charts</a></div>
|
|
|
292 |
<div class="example-link"><a class="example-link" href="selectorSyntax.html">Plot Creation with jQuery Selectors</a></div>
|
|
|
293 |
<div class="example-link"><a class="example-link" href="zooming.html">Plot Zooming and Cursor Control</a></div>
|
|
|
294 |
<div class="example-link"><a class="example-link" href="kcp_pdf.html">Probability Density Function Chart</a></div>
|
|
|
295 |
<div class="example-link"><a class="example-link" href="kcp_pyramid_by_age.html">Pyramid Chart By Age</a></div>
|
|
|
296 |
<div class="example-link"><a class="example-link" href="kcp_pyramid.html">Pyramid Charts</a></div>
|
|
|
297 |
<div class="example-link"><a class="example-link" href="kcp_pyramid2.html">Pyramid Charts 2</a></div>
|
|
|
298 |
<div class="example-link"><a class="example-link" href="kcp_quintiles.html">Quintile Pyramid Charts</a></div>
|
|
|
299 |
<div class="example-link"><a class="example-link" href="resizablePlot.html">Resizable Plots</a></div>
|
|
|
300 |
<div class="example-link"><a class="example-link" href="rotated-tick-labels.html">Rotated Labels and Font Styling</a></div>
|
|
|
301 |
<div class="example-link"><a class="example-link" href="smoothedLine.html">Smoothed Lines</a></div>
|
|
|
302 |
<div class="example-link"><a class="example-link" href="bar-charts.html">Vertical and Horizontal Bar Charts</a></div>
|
|
|
303 |
<div class="example-link"><a class="example-link" href="waterfall.html">Waterfall Charts</a></div>
|
|
|
304 |
<div class="example-link"><a class="example-link" href="waterfall2.html">Waterfall Charts 2</a></div>
|
|
|
305 |
<div class="example-link"><a class="example-link" href="zoomOptions.html">Zoom Options</a></div>
|
|
|
306 |
<div class="example-link"><a class="example-link" href="zoomProxy.html">Zoom Proxy - Control one plot from another</a></div>
|
|
|
307 |
<div class="example-link"><a class="example-link" href="zoom1.html">Zooming</a></div>
|
|
|
308 |
<div class="example-link"><a class="example-link" href="dateAxisLogAxisZooming.html">Zooming with Date and Log Axes</a></div>
|
|
|
309 |
|
|
|
310 |
</div>
|
|
|
311 |
</div>
|
|
|
312 |
</div>
|
|
|
313 |
<script type="text/javascript" src="example.min.js"></script>
|
|
|
314 |
|
|
|
315 |
</body>
|
|
|
316 |
|
|
|
317 |
|
|
|
318 |
</html>
|