first commit
[wnstats.git] / public / javascripts / jqplot / examples / kcp_pyramid.html
blobed0488695e3a6ac6bb14fab45832e9dfc26d538e
1 <!DOCTYPE html>
3 <html>
4 <head>
6 <title>Pyramid Charts</title>
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" />
13 <!--[if lt IE 9]><script language="javascript" type="text/javascript" src="../excanvas.js"></script><![endif]-->
14 <script class="include" type="text/javascript" src="../jquery.min.js"></script>
17 </head>
18 <body>
19 <div class="logo">
20 <div class="nav">
21 <a class="nav" href="../../../index.php"><span>&gt;</span>Home</a>
22 <a class="nav" href="../../../docs/"><span>&gt;</span>Docs</a>
23 <a class="nav" href="../../download/"><span>&gt;</span>Download</a>
24 <a class="nav" href="../../../info.php"><span>&gt;</span>Info</a>
25 <a class="nav" href="../../../donate.php"><span>&gt;</span>Donate</a>
26 </div>
27 </div>
28 <div class="example-content">
30 <div class="example-nav">
31 <a href="kcp_pdf.html">Previous</a> <a href="./">Examples</a> <a href="kcp_pyramid2.html">Next</a></div>
34 <!-- Example scripts go here -->
37 <link class="include" type="text/css" href="jquery-ui/css/smoothness/jquery-ui.min.css" rel="Stylesheet" />
40 <style type="text/css">
41 .chart-container {
42 border: 1px solid darkblue;
43 padding: 30px;
44 width: 600px;
45 height: 700px;
48 #chart1 {
49 width: 96%;
50 height: 96%;
53 .jqplot-datestamp {
54 font-size: 0.8em;
55 color: #777;
56 /* margin-top: 1em;
57 text-align: right;*/
58 font-style: italic;
59 position: absolute;
60 bottom: 15px;
61 right: 15px;
64 td.controls li {
65 list-style-type: none;
68 td.controls ul {
69 margin-top: 0.5em;
70 padding-left: 0.2em;
73 pre.code {
74 margin-top: 45px;
75 clear: both;
78 div.tooltip {
79 border: 1px solid #aaa;
80 margin-right: 10px;
83 </style>
85 <table class="app">
86 <td class="controls">
88 <div style="margin-bottom: 15px;">
89 Axes:
90 <select name="axisPosition">
91 <option value="both">Left &amp; Right</option>
92 <option value = "left">Left</option>
93 <option value = "right">Right</option>
94 <option value = "mid">Mid</option>
95 </select>
96 </div>
98 <div>
99 Background Color:
100 <ul>
101 <li><input name="backgroundColor" value="white" type="radio" checked />Default</li>
102 <li><input name="backgroundColor" value="#efefef" type="radio" />Gray</li>
103 </ul>
104 </div>
106 <div>
107 Pyramid Color:
108 <ul>
109 <li><input name="seriesColor" value="green" type="radio" checked />Green</li>
110 <li><input name="seriesColor" value="blue" type="radio" />Blue</li>
111 </ul>
112 </div>
114 <div>
115 Grids:
116 <ul>
117 <li><input name="gridsVertical" value="vertical" type="checkbox" checked />Vertical</li>
118 <li><input name="gridsHorizontal" value="horizontal" type="checkbox" checked />Horizontal</li>
119 <li><input name="showMinorTicks" value="true" type="checkbox" />Only major</li>
120 <li><input name="plotBands" value="true" type="checkbox" />Plot Bands</li>
121 </ul>
122 </div>
124 <div>
125 <ul>
126 <li><input name="barPadding" value="2" type="checkbox" checked />Gap between bars</li>
127 <!-- value for showContour is speed at which to fade lines in/out -->
128 <li><input name="showContour" value="500" type="checkbox" checked />Comparison Line</li>
129 </ul>
130 </div>
132 <div class="tooltip">
133 <table>
134 <tr>
135 <td>Age: </td><td><div class="tooltip-item" id="tooltipAge">&nbsp;</div></td>
136 </tr>
137 <tr>
138 <td>Male: </td><td><div class="tooltip-item" id="tooltipMale">&nbsp;</div></td>
139 </tr>
140 <tr>
141 <td>Female: </td><td><div class="tooltip-item" id="tooltipFemale">&nbsp;</div></td>
142 </tr>
143 <tr>
144 <td>Ratio: </td><td><div class="tooltip-item" id="tooltipRatio">&nbsp;</div></td>
145 </tr>
146 </table>
147 </div>
148 </td>
150 <td class="chart">
151 <div class="chart-container">
152 <div id="chart1"></div>
153 <div class="jqplot-datestamp"></div>
154 </div>
155 </td>
157 </table>
159 <pre class="code brush:js"></pre>
163 <script class="code" type="text/javascript" language="javascript">
164 $(document).ready(function(){
166 // the "x" values from the data will go into the ticks array.
167 // ticks should be strings for this case where we have values like "75+"
168 var ticks = ["0", "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+", ""];
170 // The "y" values of the data are put into seperate series arrays.
171 var male = [0.635441, 1.066868, 0.889602, 0.816883, 1.016458, 0.916705, 0.79569, 0.970443, 1.046451, 1.335686, 0.926962, 0.936646, 0.919405, 0.722027, 0.896342, 0.993397, 0.613794, 0.916921, 0.828748, 0.43487, 0.391652, 0.517303, 0.507104, 0.336168, 0.554176, 0.691826, 0.66553, 0.686232, 0.7097, 0.356915, 0.756028, 0.430155, 0.420597, 0.608589, 0.609348, 0.83607, 0.79871, 0.63388, 0.866719, 0.711042, 1.160429, 0.439268, 0.659694, 0.468406, 0.340002, 0.996662, 0.371047, 0.638918, 0.462334, 0.467053, 0.545638, 0.463275, 0.480992, 0.515747, 0.499415, 0.287639, 0.520332, 0.443779, 0.334986, 0.43161, 0.474405, 0.179186, 0.620127, 0.219074, 0.411669, 0.495684, 0.315231, 0.275056, 0.157341, 0.113926, 0.24991, 0.128113, 0.175297, 0.103093, 0.253292, 0.988836];
172 var female = [0.767078, 0.679554, 1.064493, 0.915063, 0.860792, 0.785728, 0.892471, 0.687886, 1.055313, 0.921839, 0.659624, 1.14516, 0.910735, 1.279864, 0.714669, 0.873929, 0.928453, 0.595752, 1.093534, 0.501142, 0.52829, 0.411606, 0.633309, 0.616121, 0.621781, 0.621598, 0.638378, 0.703724, 0.742589, 0.48523, 0.735727, 0.898816, 0.740614, 0.991105, 1.48909, 1.226996, 1.020624, 0.737742, 0.946817, 0.69129, 0.933744, 0.957472, 0.793112, 0.581121, 0.767528, 1.031739, 1.202133, 0.626926, 0.959522, 0.594303, 1.202145, 0.611707, 0.480779, 0.383338, 0.532876, 0.849878, 0.52453, 0.660183, 0.25419, 0.137567, 0.762322, 0.490294, 0.463194, 0.566921, 0.353006, 0.730591, 0.34669, 0.271638, 0.309785, 0.152756, 0.478111, 0.177234, 0.269302, 0.396318, 0.194934, 1.683044];
173 var male2 = [0.230476, 0.175917, 0.225027, 0.40564, 0.408617, 0.495873, 0.441314, 0.282774, 0.47483, 0.393433, 0.580612, 0.220204, 0.514281, 0.32985, 0.514933, 0.507871, 0.398236, 0.362535, 0.603625, 0.528885, 0.550904, 0.87645, 0.857331, 0.713371, 0.703566, 0.703473, 0.858118, 0.751679, 0.832039, 0.752134, 1.202689, 1.069239, 1.051431, 0.732728, 0.992696, 0.828825, 0.723044, 0.857868, 1.088298, 0.86951, 0.914989, 0.549574, 0.672405, 0.637425, 0.530195, 0.706179, 0.941525, 0.576152, 0.913033, 0.647477, 0.734785, 0.441276, 0.583452, 0.537074, 0.7625, 0.662768, 0.307013, 0.384606, 0.470416, 0.22771, 0.470173, 0.152773, 0.338433, 0.348797, 0.10273, 0.285215, 0.139796, 0.186955, 0.143478, 0.178882, 0.141022, 0.1435, 0.146959, 0.056583, 0.05317, 0.784258];
174 var female2 = [0.203297, 0.298698, 0.452947, 0.783013, 0.50033, 0.53629, 0.451817, 0.69927, 0.741356, 0.545433, 0.559643, 0.334842, 0.443899, 0.437309, 0.584658, 0.451757, 0.509258, 0.73483, 0.640501, 0.698825, 0.803701, 1.018148, 1.504918, 0.701318, 0.781324, 1.792142, 0.968484, 1.3288, 1.059729, 1.079985, 2.245553, 1.080526, 1.122927, 1.512428, 1.296163, 1.047212, 0.988065, 1.239462, 1.521174, 1.05187, 1.253013, 0.983437, 1.181799, 1.090029, 0.718064, 1.578813, 1.121987, 1.010202, 1.438581, 1.051654, 1.656156, 0.732428, 0.719311, 0.742441, 0.623806, 0.643911, 0.579092, 0.472909, 0.683453, 0.39008, 0.437458, 0.464595, 0.385552, 0.520029, 0.240536, 0.457316, 0.339587, 0.203276, 0.282141, 0.19517, 0.283663, 0.12404, 0.147211, 0.141153, 0.177653, 1.193951];
176 // Custom color arrays are set up for each series to get the look that is desired.
177 // Two color arrays are created for the default and optional color which the user can pick.
178 var greenColors = ["#526D2C", "#77933C", "#C57225", "#C57225"];
179 var blueColors = ["#3F7492", "#4F9AB8", "#C57225", "#C57225"];
181 // To accomodate changing y axis, need to keep track of plot options, so they are defined separately
182 // changing axes will require recreating the plot, so need to keep
183 // track of state changes.
184 var plotOptions = {
185 // We set up a customized title which acts as labels for the left and right sides of the pyramid.
186 title: '<div style="float:left;width:50%;text-align:center">Male</div><div style="float:right;width:50%;text-align:center">Female</div>',
188 // by default, the series will use the green color scheme.
189 seriesColors: greenColors,
191 grid: {
192 drawBorder: false,
193 shadow: false,
194 background: 'white',
195 rendererOptions: {
196 // plotBands is an option of the pyramidGridRenderer.
197 // it will put banding at starting at a specified value
198 // along the y axis with an adjustable interval.
199 plotBands: {
200 show: false
205 // This makes the effective starting value of the axes 0 instead of 1.
206 // For display, the y axis will use the ticks we supplied.
207 defaultAxisStart: 0,
208 seriesDefaults: {
209 renderer: $.jqplot.PyramidRenderer,
210 rendererOptions: {
211 barPadding: 2,
212 offsetBars: true
214 yaxis: 'yaxis',
215 shadow: false
218 // We have 4 series, the left and right pyramid bars and
219 // the left and rigt overlay lines.
220 series: [
221 // For pyramid plots, the default side is right.
222 // We want to override here to put first set of bars
223 // on left.
225 rendererOptions:{
226 side: 'left',
227 synchronizeHighlight: 1
231 yaxis: 'y2axis',
232 rendererOptions:{
233 synchronizeHighlight: 0
236 // Pyramid series are filled bars by default.
237 // The overlay series will be unfilled lines.
239 rendererOptions: {
240 fill: false,
241 side: 'left'
245 yaxis: 'y2axis',
246 rendererOptions: {
247 fill: false
252 // Set up all the y axes, since users are allowed to switch between them.
253 // The only axis that will show is the one that the series are "attached" to.
254 // We need the appropriate options for the others for when the user switches.
255 axes: {
256 xaxis: {
257 tickOptions: {},
258 rendererOptions: {
259 baselineWidth: 2
262 yaxis: {
263 label: 'Age',
264 // Use canvas label renderer to get rotated labels.
265 labelRenderer: $.jqplot.CanvasAxisLabelRenderer,
266 // include empty tick options, they will be used
267 // as users set options with plot controls.
268 tickOptions: {},
269 tickInterval: 5,
270 showMinorTicks: true,
271 ticks: ticks,
272 rendererOptions: {
273 category: false,
274 baselineWidth: 2
277 yMidAxis: {
278 label: 'Age',
279 // include empty tick options, they will be used
280 // as users set options with plot controls.
281 tickOptions: {},
282 tickInterval: 5,
283 showMinorTicks: true,
284 ticks: ticks,
285 rendererOptions: {
286 category: false,
287 baselineWidth: 2
290 y2axis: {
291 label: 'Age',
292 // Use canvas label renderer to get rotated labels.
293 labelRenderer: $.jqplot.CanvasAxisLabelRenderer,
294 // include empty tick options, they will be used
295 // as users set options with plot controls.
296 tickOptions: {},
297 tickInterval: 5,
298 showMinorTicks: true,
299 ticks: ticks,
300 rendererOptions: {
301 category: false,
302 baselineWidth: 2
308 // initialize form elements
309 // set these before attaching event handlers.
311 $('input[type=checkbox][name=gridsVertical]').attr('checked', true);
312 $('input[type=checkbox][name=gridsHorizontal]').attr('checked', true);
313 $('input[type=checkbox][name=showMinorTicks]').attr('checked', false);
314 $('input[type=checkbox][name=plotBands]').attr('checked', false);
315 $('input[type=checkbox][name=showContour]').attr('checked', true);
316 $('input[type=checkbox][name=barPadding]').attr('checked', true);
317 $('select[name=axisPosition]').val('both');
318 $('input[type=radio][name=backgroundColor]').attr('checked', false);
319 $('input[type=radio][name=backgroundColor][value=white]').attr('checked', true);
320 $('input[type=radio][name=backgroundColor]').attr('checked', false);
321 $('input[type=radio][name=backgroundColor][value=white]').attr('checked', true);
322 $('input[type=radio][name=seriesColor]').attr('checked', false);
323 $('input[type=radio][name=seriesColor][value=green]').attr('checked', true);
325 plot1 = $.jqplot('chart1', [male, female, male2, female2], plotOptions);
328 // After plot creation, check to see if contours should be displayed
329 checkContour();
331 //////
332 // The followng functions use verbose css selectors to make
333 // it clear exactly which elements they are binging to/operating on
334 //////
336 //////
337 // Function which checkes if the countour lines checkbox is checked.
338 // If not, hide the contour lines by hiding the canvases they are
339 // drawn on.
340 //////
341 function checkContour() {
342 if (!$('input[type=checkbox][name=showContour]').get(0).checked) {
343 plot1.series[2].canvas._elem.addClass('jqplot-series-hidden');
344 plot1.series[2].canvas._elem.hide();
345 plot1.series[3].canvas._elem.addClass('jqplot-series-hidden');
346 plot1.series[3].canvas._elem.hide();
350 $('select[name=axisPosition]').change(function(){
351 // this refers to the html element we are binding to.
352 // $(this) is jQuery object on that element.
354 switch ($(this).val()) {
355 case 'both':
356 plotOptions.series[0].yaxis = 'yaxis';
357 plotOptions.series[1].yaxis = 'y2axis';
358 plotOptions.series[2].yaxis = 'yaxis';
359 plotOptions.series[3].yaxis = 'y2axis';
360 break;
361 case 'left':
362 plotOptions.series[0].yaxis = 'yaxis';
363 plotOptions.series[1].yaxis = 'yaxis';
364 plotOptions.series[2].yaxis = 'yaxis';
365 plotOptions.series[3].yaxis = 'yaxis';
366 break;
367 case 'right':
368 plotOptions.series[0].yaxis = 'y2axis';
369 plotOptions.series[1].yaxis = 'y2axis';
370 plotOptions.series[2].yaxis = 'y2axis';
371 plotOptions.series[3].yaxis = 'y2axis';
372 break;
373 case 'mid':
374 plotOptions.series[0].yaxis = 'yMidAxis';
375 plotOptions.series[1].yaxis = 'yMidAxis';
376 plotOptions.series[2].yaxis = 'yMidAxis';
377 plotOptions.series[3].yaxis = 'yMidAxis';
378 break;
379 default:
380 break;
384 plot1.destroy();
385 plot1 = $.jqplot('chart1', [male, female, male2, female2], plotOptions);
386 // Finally, check to see if we need to hide contour lines.
387 checkContour();
390 $('input[type=radio][name=backgroundColor]').change(function(){
391 // this refers to the html element we are binding to.
392 // $(this) is jQuery object on that element.
393 plot1.grid.background = $(this).val();
394 plotOptions.grid.background = $(this).val();
395 plot1.replot();
396 // Finally, check to see if we need to hide contour lines.
397 checkContour();
400 $('input[type=radio][name=seriesColor]').change(function(){
401 // this refers to the html element we are binding to.
402 // $(this) is jQuery object on that element.
403 if ($(this).val() === 'blue') {
404 // reset highlight colors so they will be recalculated.
405 plot1.series[0].highlightColors = [];
406 plot1.series[1].highlightColors = [];
407 // reset series color to properly calculate highlight color.
408 plot1.series[0].color = blueColors[0];
409 plot1.series[1].color = blueColors[1];
410 // to actually draw a new color, have to set the color on the shaperenderer.
411 plot1.series[0].renderer.shapeRenderer.fillStyle = blueColors[0];
412 plot1.series[1].renderer.shapeRenderer.fillStyle = blueColors[1];
413 // update plot options state.
414 plotOptions.seriesColors = blueColors;
416 else if ($(this).val() === 'green') {
417 // reset highlight colors so they will be recalculated.
418 plot1.series[0].highlightColors = [];
419 plot1.series[1].highlightColors = [];
420 // reset series color to properly calculate highlight color.
421 plot1.series[0].color = greenColors[0];
422 plot1.series[1].color = greenColors[1];
423 // to actually draw a new color, have to set the color on the shaperenderer.
424 plot1.series[0].renderer.shapeRenderer.fillStyle = greenColors[0];
425 plot1.series[1].renderer.shapeRenderer.fillStyle = greenColors[1];
426 // update plot options state.
427 plotOptions.seriesColors = blueColors;
429 plot1.replot();
430 // Finally, check to see if we need to hide contour lines.
431 checkContour();
434 $('input[type=checkbox][name=gridsVertical]').change(function(){
435 // this refers to the html element we are binding to.
436 // $(this) is jQuery object on that element.
437 plot1.axes.xaxis.tickOptions.showGridline = this.checked;
438 plotOptions.axes.xaxis.tickOptions.showGridline = this.checked;
439 plot1.replot();
440 // Finally, check to see if we need to hide contour lines.
441 checkContour();
444 $('input[type=checkbox][name=gridsHorizontal]').change(function(){
445 // this refers to the html element we are binding to.
446 // $(this) is jQuery object on that element.
447 plot1.axes.yaxis.tickOptions.showGridline = this.checked;
448 plot1.axes.y2axis.tickOptions.showGridline = this.checked;
449 plot1.axes.yMidAxis.tickOptions.showGridline = this.checked;
450 plotOptions.axes.yaxis.tickOptions.showGridline = this.checked;
451 plotOptions.axes.y2axis.tickOptions.showGridline = this.checked;
452 plotOptions.axes.yMidAxis.tickOptions.showGridline = this.checked;
453 plot1.replot();
454 // Finally, check to see if we need to hide contour lines.
455 checkContour();
458 $('input[type=checkbox][name=showMinorTicks]').change(function(){
459 // this refers to the html element we are binding to.
460 // $(this) is jQuery object on that element.
461 plot1.axes.yaxis.showMinorTicks = !this.checked;
462 plot1.axes.y2axis.showMinorTicks = !this.checked;
463 plot1.axes.yMidAxis.showMinorTicks = !this.checked;
464 plotOptions.axes.yaxis.showMinorTicks = !this.checked;
465 plotOptions.axes.y2axis.showMinorTicks = !this.checked;
466 plotOptions.axes.yMidAxis.showMinorTicks = !this.checked;
467 plot1.replot();
468 // Finally, check to see if we need to hide contour lines.
469 checkContour();
472 $('input[type=checkbox][name=plotBands]').change(function(){
473 // this refers to the html element we are binding to.
474 // $(this) is jQuery object on that element.
475 plot1.grid.plotBands.show = this.checked;
476 plotOptions.grid.rendererOptions.plotBands.show = this.checked;
477 plot1.replot();
478 // Finally, check to see if we need to hide contour lines.
479 checkContour();
482 $('input[type=checkbox][name=showContour]').change(function(){
483 // this refers to the html element we are binding to.
484 // $(this) is jQuery object on that element.
485 var speed = $(this).val();
486 if (this.checked) {
487 plot1.series[2].canvas._elem.removeClass('jqplot-series-hidden');
488 plot1.series[2].canvas._elem.fadeIn(speed);
489 plot1.series[3].canvas._elem.removeClass('jqplot-series-hidden');
490 plot1.series[3].canvas._elem.fadeIn(speed);
492 else {
493 plot1.series[2].canvas._elem.addClass('jqplot-series-hidden');
494 plot1.series[2].canvas._elem.fadeOut(speed);
495 plot1.series[3].canvas._elem.addClass('jqplot-series-hidden');
496 plot1.series[3].canvas._elem.fadeOut(speed);
500 $('input[type=checkbox][name=barPadding]').change(function(){
501 // this refers to the html element we are binding to.
502 // $(this) is jQuery object on that element.
503 if (this.checked) {
504 var val = parseFloat($(this).val());
505 plot1.series[0].barPadding = val;
506 plot1.series[1].barPadding = val;
507 plotOptions.seriesDefaults.rendererOptions.barPadding = val;
509 else {
510 plot1.series[0].barPadding = 0;
511 plot1.series[1].barPadding = 0;
512 plotOptions.seriesDefaults.rendererOptions.barPadding = 0;
514 plot1.replot();
515 // Finally, check to see if we need to hide contour lines.
516 checkContour();
519 // bind to the data highlighting event to make custom tooltip:
520 $('.jqplot-target').bind('jqplotDataHighlight', function(evt, seriesIndex, pointIndex, data) {
521 // Here, assume first series is male poulation and second series is female population.
522 // Adjust series indices as appropriate.
523 var malePopulation = Math.abs(plot1.series[0].data[pointIndex][1]);
524 var femalePopulation = Math.abs(plot1.series[1].data[pointIndex][1]);
525 var ratio = femalePopulation / malePopulation * 100;
527 $('#tooltipMale').stop(true, true).fadeIn(250).html(malePopulation.toPrecision(4));
528 $('#tooltipFemale').stop(true, true).fadeIn(250).html(femalePopulation.toPrecision(4));
529 $('#tooltipRatio').stop(true, true).fadeIn(250).html(ratio.toPrecision(4));
531 // Since we don't know which axis is rendererd and acive with out a little extra work,
532 // just use the supplied ticks array to get the age label.
533 $('#tooltipAge').stop(true, true).fadeIn(250).html(ticks[pointIndex]);
536 // bind to the data highlighting event to make custom tooltip:
537 $('.jqplot-target').bind('jqplotDataUnhighlight', function(evt, seriesIndex, pointIndex, data) {
538 // clear out all the tooltips.
539 $('.tooltip-item').stop(true, true).fadeOut(200).html('');
542 // add a date at the bottom.
544 var d = new $.jsDate();
545 $('div.jqplot-datestamp').html('Generated on '+d.strftime('%v'));
547 $("div.chart-container").resizable({delay:20});
549 $("div.chart-container").bind("resize", function(event, ui) {
550 plot1.replot();
554 </script>
557 <!-- End example scripts -->
559 <!-- Don't touch this! -->
562 <script class="include" type="text/javascript" src="../jquery.jqplot.min.js"></script>
563 <script type="text/javascript" src="syntaxhighlighter/scripts/shCore.min.js"></script>
564 <script type="text/javascript" src="syntaxhighlighter/scripts/shBrushJScript.min.js"></script>
565 <script type="text/javascript" src="syntaxhighlighter/scripts/shBrushXml.min.js"></script>
566 <!-- End Don't touch this! -->
568 <!-- Additional plugins go here -->
570 <script class="include" type="text/javascript" src="../plugins/jqplot.categoryAxisRenderer.min.js"></script>
572 <!-- load the pyramidAxis and Grid renderers in production. pyramidRenderer will try to load via ajax if not present, but that is not optimal and depends on paths being set. -->
573 <script class="include" type="text/javascript" src="../plugins/jqplot.pyramidAxisRenderer.min.js"></script>
574 <script class="include" type="text/javascript" src="../plugins/jqplot.pyramidGridRenderer.min.js"></script>
576 <script class="include" type="text/javascript" src="../plugins/jqplot.pyramidRenderer.min.js"></script>
577 <script class="include" type="text/javascript" src="../plugins/jqplot.canvasTextRenderer.min.js"></script>
578 <script class="include" type="text/javascript" src="../plugins/jqplot.canvasAxisLabelRenderer.min.js"></script>
579 <script class="include" type="text/javascript" src="jquery-ui/js/jquery-ui.min.js"></script>
581 <!-- End additional plugins -->
584 </div>
585 <script type="text/javascript" src="example.min.js"></script>
587 </body>
590 </html>