var chart = c3.generate({ bindto: '#pkgchart', size: { height: 260 //width: 480 }, data: { columns: [ ['Trend',5751,5665,5701,5954,6096,6049,5584,1910,1538,1476,1610,1836,2086,2291,1672,1559,2903,5836,5733,5363,5905,6274,5789,5834,5992,5881,5789,5681,7022], ['Bars',5751,5665,5701,5954,6096,6049,5584,1910,1538,1476,1610,1836,2086,2291,1672,1559,2903,5836,5733,5363,5905,6274,5789,5834,5992,5881,5789,5681,7022] ], axes: { Bars: 'y2' }, types: { Bars: 'bar' // ADD }, colors: { Trend: 'green', Bars: 'orange' } }, axis: { y: { label: { text: 'Downloads for highcharter', position: 'outer-middle' } }, y2: { show: false, label: { text: 'Y2 Label', position: 'outer-middle' } }, x: { type: 'category', categories: ['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','09/20','09/21','09/22','09/23','09/24','09/25','09/26','09/27','09/28','09/29','09/30','10/01','10/02','10/03','10/04'], tick: { rotate: -80, multiline: false } } } });