$.getJSON('chartBar.json', function(graphDataBar){ // Bars $.plot($('#graph-bars'), graphDataBar, { series: { bars: { show: true, barWidth: .1, align: 'center' }, shadowSize: 0 }, grid: { color: '#646464', borderColor: 'transparent', borderWidth: 20, hoverable: true }, xaxis: { tickColor: 'transparent', ticks: [[6,'Week 48'],[7,'Week 49'],[8,'Week 50'],[9,'Week 51'],[10,'Week 52']] }, yaxis: { tickSize: 5 } }); });