From 3671a33984fa5fa3afd5aa0acbb418266516b106 Mon Sep 17 00:00:00 2001 From: junjie Date: Mon, 26 Jul 2021 14:00:45 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E8=A7=86=E5=9B=BE=E7=BC=A9?= =?UTF-8?q?=E6=94=BE=E6=9A=82=E6=97=B6=E5=8E=BB=E6=8E=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/chart/chart/chart.js | 180 ++++++++++++------------ 1 file changed, 90 insertions(+), 90 deletions(-) diff --git a/frontend/src/views/chart/chart/chart.js b/frontend/src/views/chart/chart/chart.js index 031d2007d2..86d59f58cc 100644 --- a/frontend/src/views/chart/chart/chart.js +++ b/frontend/src/views/chart/chart/chart.js @@ -202,36 +202,36 @@ export const BASE_BAR = { yAxis: { type: 'value' }, - series: [], - dataZoom: [ - { - type: 'slider', - show: false, - xAxisIndex: [0], - start: 1, - end: 100 - }, - { - type: 'slider', - show: false, - yAxisIndex: [0], - left: '93%', - start: 1, - end: 100 - }, - { - type: 'inside', - xAxisIndex: [0], - start: 1, - end: 100 - }, - { - type: 'inside', - yAxisIndex: [0], - start: 1, - end: 100 - } - ] + series: [] + // dataZoom: [ + // { + // type: 'slider', + // show: false, + // xAxisIndex: [0], + // start: 1, + // end: 100 + // }, + // { + // type: 'slider', + // show: false, + // yAxisIndex: [0], + // left: '93%', + // start: 1, + // end: 100 + // }, + // { + // type: 'inside', + // xAxisIndex: [0], + // start: 1, + // end: 100 + // }, + // { + // type: 'inside', + // yAxisIndex: [0], + // start: 1, + // end: 100 + // } + // ] } export const HORIZONTAL_BAR = { title: { @@ -258,36 +258,36 @@ export const HORIZONTAL_BAR = { yAxis: { data: [] }, - series: [], - dataZoom: [ - { - type: 'slider', - show: false, - xAxisIndex: [0], - start: 1, - end: 100 - }, - { - type: 'slider', - show: false, - yAxisIndex: [0], - left: '93%', - start: 1, - end: 100 - }, - { - type: 'inside', - xAxisIndex: [0], - start: 1, - end: 100 - }, - { - type: 'inside', - yAxisIndex: [0], - start: 1, - end: 100 - } - ] + series: [] + // dataZoom: [ + // { + // type: 'slider', + // show: false, + // xAxisIndex: [0], + // start: 1, + // end: 100 + // }, + // { + // type: 'slider', + // show: false, + // yAxisIndex: [0], + // left: '93%', + // start: 1, + // end: 100 + // }, + // { + // type: 'inside', + // xAxisIndex: [0], + // start: 1, + // end: 100 + // }, + // { + // type: 'inside', + // yAxisIndex: [0], + // start: 1, + // end: 100 + // } + // ] } export const BASE_LINE = { @@ -316,36 +316,36 @@ export const BASE_LINE = { yAxis: { type: 'value' }, - series: [], - dataZoom: [ - { - type: 'slider', - show: false, - xAxisIndex: [0], - start: 1, - end: 100 - }, - { - type: 'slider', - show: false, - yAxisIndex: [0], - left: '93%', - start: 1, - end: 100 - }, - { - type: 'inside', - xAxisIndex: [0], - start: 1, - end: 100 - }, - { - type: 'inside', - yAxisIndex: [0], - start: 1, - end: 100 - } - ] + series: [] + // dataZoom: [ + // { + // type: 'slider', + // show: false, + // xAxisIndex: [0], + // start: 1, + // end: 100 + // }, + // { + // type: 'slider', + // show: false, + // yAxisIndex: [0], + // left: '93%', + // start: 1, + // end: 100 + // }, + // { + // type: 'inside', + // xAxisIndex: [0], + // start: 1, + // end: 100 + // }, + // { + // type: 'inside', + // yAxisIndex: [0], + // start: 1, + // end: 100 + // } + // ] } export const BASE_PIE = {