Commit 489b218f43b6b07e10b05902b25097de8afb95ec
1 parent
869ebc82
更新首页停车位数量及占比
Showing
1 changed file
with
3 additions
and
3 deletions
js/pagejs/index.js
... | ... | @@ -746,7 +746,7 @@ |
746 | 746 | |
747 | 747 | countryIndex[countryName] = i; |
748 | 748 | } |
749 | - | |
749 | + bar_l_option.xAxis.data.push("其他"); | |
750 | 750 | var req= { |
751 | 751 | sysCode:sysComm.sysCode, |
752 | 752 | cityId:sysComm.cityId |
... | ... | @@ -856,7 +856,7 @@ |
856 | 856 | }, |
857 | 857 | xAxis: { |
858 | 858 | gridLineWidth: 0, |
859 | - categories: ['红山区', '松山区', '元宝山区', '其他'], | |
859 | + categories: bar_l_option.xAxis.data, | |
860 | 860 | labels: { |
861 | 861 | style: { |
862 | 862 | color: '#fff',//颜色 |
... | ... | @@ -885,7 +885,7 @@ |
885 | 885 | |
886 | 886 | }); |
887 | 887 | |
888 | - bar_l_option.xAxis.data.push("其他"); | |
888 | + | |
889 | 889 | var serieData = {value:otherParkLotNum, name:"其他"}; |
890 | 890 | dataCount.push(serieData); |
891 | 891 | ... | ... |