<!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>