|
|
@@ -159,6 +159,7 @@
|
|
159
|
159
|
type: 'year',
|
|
160
|
160
|
theme: '#00a1cb',
|
|
161
|
161
|
});
|
|
|
162
|
+// Ajax()
|
|
162
|
163
|
hjCompaer = echarts.init(document.getElementById('hjCompaer'));
|
|
163
|
164
|
option = {
|
|
164
|
165
|
tooltip: {
|
|
|
@@ -252,7 +253,8 @@
|
|
252
|
253
|
success: function(res) {
|
|
253
|
254
|
var content = res.data;
|
|
254
|
255
|
$.each(content, function(index, ele) {
|
|
255
|
|
- arr.push(content[index].key) allData.push(content[index].value) //console.log(allData);
|
|
|
256
|
+ arr.push(content[index].key);
|
|
|
257
|
+ allData.push(content[index].value) //console.log(allData);
|
|
256
|
258
|
});
|
|
257
|
259
|
}
|
|
258
|
260
|
});
|