From f053a0623112997ba7ffcab179510dfe7c2fb92d Mon Sep 17 00:00:00 2001 From: yanran200730 Date: Wed, 15 Mar 2023 11:18:12 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=A7=E5=B1=8F=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/AiEchart/template/bar/barChart3.js | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/components/AiEchart/template/bar/barChart3.js b/components/AiEchart/template/bar/barChart3.js index 05c565f8..8ddff56e 100644 --- a/components/AiEchart/template/bar/barChart3.js +++ b/components/AiEchart/template/bar/barChart3.js @@ -12,20 +12,14 @@ export default { type: 'bar', label: {show: true, position: 'insideBottom', color: '#fff'}, barWidth: 24, showBackground: true, - backgroundStyle: { - color: 'rgba(123, 165, 255, .2)' - }, - itemStyle: { - color: { - type: 'linear', x: 0, x2: 0, y: 0, y2: 1, - colorStops: [{offset: 0, color: '#42BBFF'}, {offset: 1, color: 'rgba(37, 143, 255, 0.2)'}] - } - }, + // backgroundStyle: { + // color: 'rgba(123, 165, 255, .2)' + // }, emphasis: { itemStyle: { color: { type: 'linear', x: 0, x2: 0, y: 0, y2: 1, - colorStops: [{offset: 0, color: '#42FFFE'}, {offset: 1, color: 'rgba(37, 255, 246, 0.2)'}] + // colorStops: [{offset: 0, color: '#42FFFE'}, {offset: 1, color: 'rgba(37, 255, 246, 0.2)'}] } } }