From 482f06bf7690c723475ddef5f4d839b822188e16 Mon Sep 17 00:00:00 2001 From: junjie Date: Mon, 26 Jul 2021 14:22:19 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=A7=86=E5=9B=BE=E7=BC=A9=E6=94=BE?= 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 86d59f58cc..aec2f2a89d 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: 0, + end: 100 + }, + { + type: 'slider', + show: false, + yAxisIndex: [0], + left: '93%', + start: 0, + end: 100 + }, + { + type: 'inside', + xAxisIndex: [0], + start: 0, + end: 100 + }, + { + type: 'inside', + yAxisIndex: [0], + start: 0, + 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: 0, + end: 100 + }, + { + type: 'slider', + show: false, + yAxisIndex: [0], + left: '93%', + start: 0, + end: 100 + }, + { + type: 'inside', + xAxisIndex: [0], + start: 0, + end: 100 + }, + { + type: 'inside', + yAxisIndex: [0], + start: 0, + 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: 0, + end: 100 + }, + { + type: 'slider', + show: false, + yAxisIndex: [0], + left: '93%', + start: 0, + end: 100 + }, + { + type: 'inside', + xAxisIndex: [0], + start: 0, + end: 100 + }, + { + type: 'inside', + yAxisIndex: [0], + start: 0, + end: 100 + } + ] } export const BASE_PIE = {