From d0f98ad8e1047e3161a458399ad3005404ed87b8 Mon Sep 17 00:00:00 2001 From: whychdw <496960745@qq.com> Date: 星期五, 06 六月 2025 15:52:15 +0800 Subject: [PATCH] 标准参数管理 --- src/components/echarts/transparent.js | 47 ++--------------------------------------------- 1 files changed, 2 insertions(+), 45 deletions(-) diff --git a/src/components/echarts/transparent.js b/src/components/echarts/transparent.js index 8664f03..8c9e08e 100644 --- a/src/components/echarts/transparent.js +++ b/src/components/echarts/transparent.js @@ -46,50 +46,6 @@ mapBorderWidthE: 1, mapAreaColor: "#eee", mapAreaColorE: "rgba(255,215,0,0.8)", - axes: [ - { - type: "all", - name: "閫氱敤鍧愭爣杞�", - axisLineShow: true, - axisLineColor: "#6E7079", - axisTickShow: true, - axisTickColor: "#6E7079", - axisLabelShow: true, - axisLabelColor: "#6E7079", - splitLineShow: true, - splitLineColor: ["#E0E6F1"], - splitAreaShow: false, - splitAreaColor: ["rgba(250,250,250,0.2)", "rgba(210,219,238,0.2)"], - }, - { - type: "category", - name: "绫荤洰鍧愭爣杞�", - axisLineShow: true, - axisLineColor: "#ffffff", - axisTickShow: true, - axisTickColor: "#00ffff", - axisLabelShow: true, - axisLabelColor: "#ffffff", - splitLineShow: false, - splitLineColor: ["#E0E6F1"], - splitAreaShow: true, - splitAreaColor: ["rgba(160,158,222,0.2)", "rgba(210,219,238,0.2)"], - }, - { - type: "value", - name: "鏁板�煎潗鏍囪酱", - axisLineShow: true, - axisLineColor: "#ffffff", - axisTickShow: true, - axisTickColor: "#00ffff", - axisLabelShow: true, - axisLabelColor: "#00ffff", - splitLineShow: true, - splitLineColor: ["#E0E6F1"], - splitAreaShow: false, - splitAreaColor: ["rgba(250,250,250,0.2)", "rgba(210,219,238,0.2)"], - }, - ], axisSeperateSetting: true, toolboxColor: "#00ffff", toolboxEmphasisColor: "#ffffff", @@ -109,4 +65,5 @@ }, }; -echarts.registerTheme("transparent", theme); \ No newline at end of file +echarts.registerTheme("transparent", theme.theme); +console.log('Theme registered:', echarts, "echarts.getTheme('transparent')"); \ No newline at end of file -- Gitblit v1.9.1