瀏覽代碼

修改legend显示

zhangxc 4 年之前
父節點
當前提交
99d553913a
共有 1 個文件被更改,包括 1 次插入2 次删除
  1. 1 2
      src/js/graphMap.js

+ 1 - 2
src/js/graphMap.js

@@ -58,7 +58,7 @@ function drawGraph(data,resultShowId) {
             type: 'scroll',
             bottom: 0,
             icon: 'circle',
-            orient: 'vertical',
+            // orient: 'vertical',
             // cursor:'pointer',
             data: legends.map(function (a) {
                 return a.name;
@@ -150,7 +150,6 @@ function drawGraph(data,resultShowId) {
 
 function dataClick(param){
     var data = param.data;
-    console.log('data',data)
     const clientHei = $(window).height()
     const contentHei = clientHei - 80
     // console.log('data', data,select_type)