Browse Source

性别分布添加其他类别颜色值

lulihong 6 years ago
parent
commit
4786821fee
1 changed files with 1 additions and 3 deletions
  1. 1 3
      page/bigData/js/alert4.js

+ 1 - 3
page/bigData/js/alert4.js

@ -111,8 +111,6 @@ new Vue({
            ]
            $(".div-mask-layer").show();
            httpRequest.getReqPromises(reqUrl).then(function(datas) {
                console.log(datas);
                debugger
                vm.alertData1 = datas[0].obj.VIEW_15_0001[0].HC_15_1006;
                vm.alertData2 = datas[1].obj.VIEW_15_0001[0].HC_15_1006;
                vm.alertData3 = datas[2].obj.VIEW_15_0002[0].HC_15_1003;
@ -166,7 +164,7 @@ new Vue({
        setAlertChart3:function(data){
            var options = JSON.parse(data);
            options = xingbieChart(options);
            options.color = ["#00E7F3","#ff616f"];
            options.color = ["#00E7F3","#ff616f","#6576e0"];
            options.legend.formatter = function(name) {
                var index = 0;
                var clientlabels = options.legend.data;