diff --git a/superset-frontend/plugins/plugin-chart-echarts/src/Gauge/constants.ts b/superset-frontend/plugins/plugin-chart-echarts/src/Gauge/constants.ts index 757b99342ed..597e0ff9b1b 100644 --- a/superset-frontend/plugins/plugin-chart-echarts/src/Gauge/constants.ts +++ b/superset-frontend/plugins/plugin-chart-echarts/src/Gauge/constants.ts @@ -29,7 +29,7 @@ export const defaultGaugeSeriesOption = ( }, axisLine: { lineStyle: { - color: [[1, theme.colors.primary.light4]], + color: [[1, theme.colorSplit]], }, }, axisLabel: { @@ -42,7 +42,7 @@ export const defaultGaugeSeriesOption = ( }, }, detail: { - color: 'auto', + color: theme.colorText, }, }); diff --git a/superset-frontend/plugins/plugin-chart-echarts/src/Gauge/transformProps.ts b/superset-frontend/plugins/plugin-chart-echarts/src/Gauge/transformProps.ts index e2dd9d48809..2a0ebd85cc9 100644 --- a/superset-frontend/plugins/plugin-chart-echarts/src/Gauge/transformProps.ts +++ b/superset-frontend/plugins/plugin-chart-echarts/src/Gauge/transformProps.ts @@ -194,6 +194,7 @@ export default function transformProps( }%`, ], fontSize: FONT_SIZE_MULTIPLIERS.detailFontSize * fontSize, + color: theme.colorText, }, }; if ( diff --git a/superset-frontend/plugins/plugin-chart-echarts/src/Graph/transformProps.ts b/superset-frontend/plugins/plugin-chart-echarts/src/Graph/transformProps.ts index c98d6160921..6e032f5c17a 100644 --- a/superset-frontend/plugins/plugin-chart-echarts/src/Graph/transformProps.ts +++ b/superset-frontend/plugins/plugin-chart-echarts/src/Graph/transformProps.ts @@ -325,7 +325,10 @@ export default function transformProps( selectedMode, ...getChartPadding(showLegend, legendOrientation, legendMargin), animation: DEFAULT_GRAPH_SERIES_OPTION.animation, - label: DEFAULT_GRAPH_SERIES_OPTION.label, + label: { + ...DEFAULT_GRAPH_SERIES_OPTION.label, + color: theme.colorText, + }, lineStyle: DEFAULT_GRAPH_SERIES_OPTION.lineStyle, emphasis: DEFAULT_GRAPH_SERIES_OPTION.emphasis, },