var chart = c3.generate({ bindto: '#pkgchart', size: { height: 260 //width: 480 }, data: { columns: [ ['Trend',11815,13272,12892,10809,5504,5955,12471,13797,13774,13041,11149,5523,6074,12586,12739,12679,12335,10142,5405,5564,12533,13637,14241,13334,11258,6038,5920,12357,13855,14176], ['Bars',11815,13272,12892,10809,5504,5955,12471,13797,13774,13041,11149,5523,6074,12586,12739,12679,12335,10142,5405,5564,12533,13637,14241,13334,11258,6038,5920,12357,13855,14176] ], axes: { Bars: 'y2' }, types: { Bars: 'bar' // ADD }, colors: { Trend: 'green', Bars: 'orange' } }, axis: { y: { label: { text: 'Downloads for microbenchmark', position: 'outer-middle' } }, y2: { show: false, label: { text: 'Y2 Label', position: 'outer-middle' } }, x: { type: 'category', categories: ['09/17','09/18','09/19','09/20','09/21','09/22','09/23','09/24','09/25','09/26','09/27','09/28','09/29','09/30','10/01','10/02','10/03','10/04','10/05','10/06','10/07','10/08','10/09','10/10','10/11','10/12','10/13','10/14','10/15','10/16'], tick: { rotate: -80, multiline: false } } } });