I have a timeseries chart created with C3. The chart has time gaps in the data, and this is very noticeable with a bar chart.
Is it possible to remove the gaps? I render the chart as shown below. Notice how there's a gap between 2013-01-03
and 2013-01-06
var chart = c3.generate({
data: {
x: 'x',
type: 'bar',
columns: [
['x', '2013-01-01', '2013-01-02', '2013-01-03', '2013-01-06', '2013-01-07', '2013-01-08'],
['data1', 30, 200, 100, 400, 150, 250]
]
},
axis: {
x: {
type: 'timeseries',
tick: {
format: '%Y-%m-%d'
}
}
}
});
DEMO http://jsfiddle.net/4nar0rne/1/
Thank you in advance.
timeseries
charts) however have the ordering of acategory
chart. – Leitman