From 81c613cafcb79b96b86adf0204664158d36b6f4a Mon Sep 17 00:00:00 2001 From: jianneng-fit2cloud Date: Fri, 7 Mar 2025 16:19:20 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=9B=BE=E8=A1=A8):=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=9C=B0=E5=9B=BE=E5=9B=BE=E4=BE=8B=E5=88=92?= =?UTF-8?q?=E5=88=86=E4=B8=BA=E8=87=AA=E5=AE=9A=E4=B9=89=EF=BC=8C=E5=AF=BC?= =?UTF-8?q?=E8=87=B4=E9=83=A8=E5=88=86=E5=9C=B0=E5=9B=BE=E5=86=85=E5=AE=B9?= =?UTF-8?q?=E6=97=A0=E6=B3=95=E6=AD=A3=E5=B8=B8=E6=98=BE=E7=A4=BA=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/chart/components/js/panel/charts/map/map.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/core-frontend/src/views/chart/components/js/panel/charts/map/map.ts b/core/core-frontend/src/views/chart/components/js/panel/charts/map/map.ts index a2b5a0a462..d939f8aae1 100644 --- a/core/core-frontend/src/views/chart/components/js/panel/charts/map/map.ts +++ b/core/core-frontend/src/views/chart/components/js/panel/charts/map/map.ts @@ -421,7 +421,7 @@ export class Map extends L7PlotChartView { const isLessThanMin = range[0] < ranges[0][0] && range[1] < ranges[0][0] let rangeColor = colors[colorIndex] if (isLessThanMin) { - rangeColor = hexColorToRGBA(basicStyle.areaBaseColor, basicStyle.alpha) + rangeColor = basicStyle.areaBaseColor } items.push({ value: tmpRange, @@ -436,7 +436,7 @@ export class Map extends L7PlotChartView { } options.color['value'] = ({ value }) => { const item = items.find(item => value >= item.value[0] && value <= item.value[1]) - return item ? item.color : hexColorToRGBA(basicStyle.areaBaseColor, basicStyle.alpha) + return item ? item.color : basicStyle.areaBaseColor } options.color.scale.domain = [ranges[0][0], ranges[ranges.length - 1][1]] } else {