var chart = c3.generate({ bindto: '#pkgchart', size: { height: 260 //width: 480 }, data: { columns: [ ['Trend',4,12,42,10,7,44,7,3,45,14,11,53,15,7,53,12,25,55,10,26,44,7,12,47,12,11,49,10,5], ['Bars',4,12,42,10,7,44,7,3,45,14,11,53,15,7,53,12,25,55,10,26,44,7,12,47,12,11,49,10,5] ], axes: { Bars: 'y2' }, types: { Bars: 'bar' // ADD }, colors: { Trend: 'green', Bars: 'orange' } }, axis: { y: { label: { text: 'Downloads for teal.modules.clinical', position: 'outer-middle' } }, y2: { show: false, label: { text: 'Y2 Label', position: 'outer-middle' } }, x: { type: 'category', categories: ['06/08','06/09','06/10','06/11','06/12','06/13','06/14','06/15','06/16','06/17','06/18','06/19','06/20','06/21','06/22','06/23','06/24','06/25','06/26','06/27','06/28','06/29','06/30','07/01','07/02','07/03','07/04','07/05','07/06'], tick: { rotate: -80, multiline: false } } } });