Answer the question
In order to leave comments, you need to log in
How to correctly populate an array for C3JS?
I want to build a chart using C3JS (let's say it's a product sales chart) for this you need an array, for example:
['2013-01-01', '2013-01-02', '2013-01-03', '2013-01-04', '2013-01-05', '2013-01-06', '2013-01-07', '2013-01-08', '2013-01-09', '2013-01-10', '2013-01-11', '2013-01-12'],
Answer the question
In order to leave comments, you need to log in
c3.js handles datasets with gaps in the time axis quite well (see jsfiddle for example ).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question