|
|
@ -19,18 +19,21 @@ |
|
|
|
['data1', -1030, -1200, 1000], |
|
|
|
['data1', -1030, -1200, 1000], |
|
|
|
['data2', -1150, -220, -1110] |
|
|
|
['data2', -1150, -220, -1110] |
|
|
|
], |
|
|
|
], |
|
|
|
|
|
|
|
labels: true, |
|
|
|
}, |
|
|
|
}, |
|
|
|
allPositiveData = { |
|
|
|
allPositiveData = { |
|
|
|
columns: [ |
|
|
|
columns: [ |
|
|
|
['data1', 1030, 1200, 1100], |
|
|
|
['data1', 1030, 1200, 1100], |
|
|
|
['data2', 2050, 2020, 2010] |
|
|
|
['data2', 2050, 2020, 2010] |
|
|
|
], |
|
|
|
], |
|
|
|
|
|
|
|
labels: true, |
|
|
|
}, |
|
|
|
}, |
|
|
|
allNegativeData = { |
|
|
|
allNegativeData = { |
|
|
|
columns: [ |
|
|
|
columns: [ |
|
|
|
['data1', -1030, -2200, -2100], |
|
|
|
['data1', -1030, -2200, -2100], |
|
|
|
['data2', -1150, -2010, -1200] |
|
|
|
['data2', -1150, -2010, -1200] |
|
|
|
] |
|
|
|
], |
|
|
|
|
|
|
|
labels: true, |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
var chart1 = c3.generate({ |
|
|
|
var chart1 = c3.generate({ |
|
|
|