var chart = c3.generate({ bindto: '#pkgchart', size: { height: 260 //width: 480 }, data: { columns: [ ['Trend',6,3,6,1,7,3,6,2,1,2], ['Bars',6,3,6,1,7,3,6,2,1,2] ], axes: { Bars: 'y2' }, types: { Bars: 'bar' // ADD }, colors: { Trend: 'green', Bars: 'orange' } }, axis: { y: { label: { text: 'Downloads for worldriskpollr', position: 'outer-middle' } }, y2: { show: false, label: { text: 'Y2 Label', position: 'outer-middle' } }, x: { type: 'category', categories: ['10/16','10/21','10/24','10/26','10/30','11/04','11/07','11/08','11/10','11/11'], tick: { rotate: -80, multiline: false } } } });