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 => {