var chart = c3.generate({ bindto: '#pkgchart', size: { height: 260 //width: 480 }, data: { columns: [ ['Trend',55,1,1,54,1,1,29,27,2,27,28,2,54], ['Bars',55,1,1,54,1,1,29,27,2,27,28,2,54] ], axes: { Bars: 'y2' }, types: { Bars: 'bar' // ADD }, colors: { Trend: 'green', Bars: 'orange' } }, axis: { y: { label: { text: 'Downloads for PopGenome', position: 'outer-middle' } }, y2: { show: false, label: { text: 'Y2 Label', position: 'outer-middle' } }, x: { type: 'category', categories: ['09/11','09/12','09/13','09/18','09/21','09/22','09/25','09/26','09/27','09/28','09/29','09/30','10/02'], tick: { rotate: -80, multiline: false } } } });