var chart = c3.generate({ bindto: '#pkgchart', size: { height: 260 //width: 480 }, data: { columns: [ ['Trend',2,30,6,4,25,15,9,18,7], ['Bars',2,30,6,4,25,15,9,18,7] ], axes: { Bars: 'y2' }, types: { Bars: 'bar' // ADD }, colors: { Trend: 'green', Bars: 'orange' } }, axis: { y: { label: { text: 'Downloads for ReliaGrowR', position: 'outer-middle' } }, y2: { show: false, label: { text: 'Y2 Label', position: 'outer-middle' } }, x: { type: 'category', categories: ['09/19','09/20','09/21','09/22','09/23','09/24','09/25','09/26','09/27'], tick: { rotate: -80, multiline: false } } } });