Browse Source

桑基图禁止拖动

maxiaoxiao 5 months ago
parent
commit
342bcbed62
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/components/echartsTemplate/sankey.vue

+ 1 - 0
src/components/echartsTemplate/sankey.vue

@@ -25,6 +25,7 @@ let option = {
     emphasis: {
     emphasis: {
       focus: "adjacency",
       focus: "adjacency",
     },
     },
+    draggable: false, // 禁止拖动
     label: {
     label: {
       position: "right",
       position: "right",
       color: "#ECF6FF",
       color: "#ECF6FF",