// JavaScript Document
$(document).ready(function(){
						   
//
// Monthly data
// Only change these numbers. There's 12 pairs, one for each month. The second value in each pair is the total running surplus amount, year-to-date
// in TONS. Add a number for each month. Leave a month blank if the number hasn't come in yet. Then save and upload this file.
//
// Example:
//    s1 = [[1,75],[2,176],[3,231],[4,275],[5,],[6,],[7,],[8,],[9,],[10,],[11,],[12,]];
//
						   
   s1 = [[1,144],[2,183],[3,330],[4,386],[5,1197],[6,1510],[7,1829],[8,2134],[9,2383],[10,2518],[11,2588],[12,]];

						   
//
// Don't change anything below this line.
//
	

		$.jqplot.config.enablePlugins = true;
		plot1 = $.jqplot('chart1',[s1],{
    legend:{show:true}, 
       title: '2011 Surplus Shipment Summary (in tons)',
	   seriesDefaults:{label: '2011'},
       axes: {
           xaxis: {
		   		ticks:[[1,'Jan'], [2,'Feb'], [3,'Mar'], [4,'Apr'], [5,'May'], [6,'Jun'], [7,'Jul'], [8,'Aug'], [9,'Sep'], [10,'Oct'], [11,'Nov'], [12,'Dec']],
				numberTicks: 12
           },
           yaxis: {
				min: 0,
               tickOptions: {
                   formatString: '%i'
               }
           }
       },
       highlighter: {
           sizeAdjust: 10,
           tooltipLocation: 'n',
		   tooltipAxes: 'y',
           useAxesFormatters: true,
           formatString: '%d tons'
       },
       cursor: {
           show: true,
           zoom: false,
		   showTooltip: false
       }
   });
});

