3 <title>The source code</title>
\r
4 <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
\r
5 <script type="text/javascript" src="../resources/prettify/prettify.js"></script>
\r
7 <body onload="prettyPrint();">
\r
8 <pre class="prettyprint lang-js">Ext.chart.Chart.CHART_URL = '../../resources/charts.swf';
\r
10 Ext.onReady(function(){
\r
11 var store = new Ext.data.JsonStore({
\r
12 fields: ['season', 'total'],
\r
31 title: 'Pie Chart with Legend - Favorite Season',
\r
32 renderTo: 'container',
\r
37 categoryField: 'season',
\r
38 //extra styles get applied to the chart defaults
\r