var chart = c3.generate({ bindto: '#pkgchart', size: { height: 260 //width: 480 }, data: { columns: [ ['Trend',122,134,108,39,46,79,99,141,97,98,70,135,97,151,124,237,261,133,111,322,156,213,260,126,82,50,179,172,227,288], ['Bars',122,134,108,39,46,79,99,141,97,98,70,135,97,151,124,237,261,133,111,322,156,213,260,126,82,50,179,172,227,288] ], axes: { Bars: 'y2' }, types: { Bars: 'bar' // ADD }, colors: { Trend: 'green', Bars: 'orange' } }, axis: { y: { label: { text: 'Downloads for scoringRules', position: 'outer-middle' } }, y2: { show: false, label: { text: 'Y2 Label', position: 'outer-middle' } }, x: { type: 'category', categories: ['08/21','08/22','08/23','08/24','08/25','08/26','08/27','08/28','08/29','08/30','08/31','09/01','09/02','09/03','09/04','09/05','09/06','09/07','09/08','09/09','09/10','09/11','09/12','09/13','09/14','09/15','09/16','09/17','09/18','09/19'], tick: { rotate: -80, multiline: false } } } });