var chart = c3.generate({ bindto: '#pkgchart', size: { height: 260 //width: 480 }, data: { columns: [ ['Trend',19,13,20,26,33,23,25,24,16,14,36,41,21,33,35,16,15,60,33,70,50,31,19,17,26,21,43,21,16,24], ['Bars',19,13,20,26,33,23,25,24,16,14,36,41,21,33,35,16,15,60,33,70,50,31,19,17,26,21,43,21,16,24] ], axes: { Bars: 'y2' }, types: { Bars: 'bar' // ADD }, colors: { Trend: 'green', Bars: 'orange' } }, axis: { y: { label: { text: 'Downloads for SSEparser', position: 'outer-middle' } }, y2: { show: false, label: { text: 'Y2 Label', position: 'outer-middle' } }, x: { type: 'category', categories: ['08/02','08/03','08/04','08/05','08/06','08/07','08/08','08/09','08/10','08/11','08/12','08/13','08/14','08/15','08/16','08/17','08/18','08/19','08/20','08/21','08/22','08/23','08/24','08/25','08/26','08/27','08/28','08/29','08/30','08/31'], tick: { rotate: -80, multiline: false } } } });