c3.generate({
bindto: '#checks_chart',
data: {
x: 'x',
columns: [
['x', 1, 2, 3, 4, 5, 6, 7],
['всего', 1, 2, 3, 4, 5, 6, 7],
['WEB', 1, 2, 3, 4, 5, 6, 7],
['SMS', 1, 2, 3, 4, 5, 6, 7]
],
type: 'bar'
},
axis: {
x: {
type: 'category'
}
}
})