From 7ae02c4e65b94793e887a8c687cc2f74607d2b52 Mon Sep 17 00:00:00 2001 From: ulleo Date: Mon, 2 Sep 2024 16:27:55 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=9B=BE=E8=A1=A8):=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E6=96=B0=E5=BB=BA=E5=A0=86=E5=8F=A0=E6=9F=B1=E7=BA=BF=E7=BB=84?= =?UTF-8?q?=E5=90=88=E5=9B=BE=E5=8F=B3=E8=BD=B4=E8=87=AA=E5=AE=9A=E4=B9=89?= =?UTF-8?q?=E9=A2=9C=E8=89=B2=E4=B8=8E=E5=9B=BE=E8=A1=A8=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E9=A2=9C=E8=89=B2=E4=B8=8D=E4=B8=80=E8=87=B4=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/chart/components/js/panel/charts/others/chart-mix.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/core-frontend/src/views/chart/components/js/panel/charts/others/chart-mix.ts b/core/core-frontend/src/views/chart/components/js/panel/charts/others/chart-mix.ts index a6ee67f4ce..1b7dde1f61 100644 --- a/core/core-frontend/src/views/chart/components/js/panel/charts/others/chart-mix.ts +++ b/core/core-frontend/src/views/chart/components/js/panel/charts/others/chart-mix.ts @@ -371,7 +371,7 @@ export class ColumnLineMix extends G2PlotChartView { public setupSubSeriesColor(chart: ChartObj, data?: any[]): ChartBasicStyle['seriesColor'] { const result: ChartBasicStyle['seriesColor'] = [] const seriesSet = new Set() - const colors = chart.customAttr.basicStyle.subColors ?? chart.customAttr.basicStyle.colors + const colors = chart.customAttr.basicStyle.subColors ?? CHART_MIX_DEFAULT_BASIC_STYLE.subColors const { yAxisExt, extBubble } = chart if (extBubble?.length) { data?.forEach(d => {