3 * Copyright(c) 2006-2010 Sencha Inc.
5 * http://www.sencha.com/license
7 function generateData(){
9 for(var i = 0; i < 12; ++i){
10 data.push([Date.monthNames[i], (Math.floor(Math.random() * 11) + 1) * 100]);
15 Ext.onReady(function(){
16 var store = new Ext.data.ArrayStore({
17 fields: ['month', 'hits'],
24 renderTo: document.body,
25 title: 'Column Chart with Reload - Hits per Month',
27 text: 'Load new data set',
29 store.loadData(generateData());
36 url: '../../resources/charts.swf',
38 xAxis: new Ext.chart.CategoryAxis({
41 yAxis: new Ext.chart.NumericAxis({