c3.generate({
data: chartData,
axis: {
x: {
type: 'timeseries',
label: {
text: 'Months',
position: 'outer-left'
},
tick: {
format: '%d.%m.%y',
culling: {
max: 25
},
fit: true,
multiline: false
}
},
y: {
label: 'Tickets'
}
}
})
// chartData - this variable contains the aggregated data for display and is generated by the script
|