Multiple Values On X Axes With C3js ( Timeseries )
I have this nice graph : I also have this array for the blue part ( Area-Spline ). ['x2', '2015-01-05 00:00:00', '2015-01-12 00:00:00', '2015-01-19 00:00:00', '2015-01-26 00:00:
Solution 1:
Remove this string x: 'x1',
After you must set xs
param for each line name like this:
xs: {
'data1': 'x1',
'passanten': 'x2',
'A. v. Hensbergen': 'x1', //or'x2''Gemeentehuis': 'x1', //or'x2'
......
'OTHER COLUMN': 'x2', //or'x1'
},
Try this example to see your problem: https://jsfiddle.net/xsLgbhwt/
Post a Comment for "Multiple Values On X Axes With C3js ( Timeseries )"