You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ms...@apache.org on 2025/09/19 09:34:00 UTC
(superset) branch master updated: fix(gantt-chart): fix Y-axis label visibility in dark theme (#35189)
This is an automated email from the ASF dual-hosted git repository.
msyavuz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git
The following commit(s) were added to refs/heads/master by this push:
new 4130b92966 fix(gantt-chart): fix Y-axis label visibility in dark theme (#35189)
4130b92966 is described below
commit 4130b92966f33c0f5b1501fe71d1494b1d01fe95
Author: Levis Mbote <11...@users.noreply.github.com>
AuthorDate: Fri Sep 19 12:33:53 2025 +0300
fix(gantt-chart): fix Y-axis label visibility in dark theme (#35189)
---
.../plugins/plugin-chart-echarts/src/Gantt/transformProps.ts | 1 +
.../plugins/plugin-chart-echarts/test/Gantt/transformProps.test.ts | 1 +
2 files changed, 2 insertions(+)
diff --git a/superset-frontend/plugins/plugin-chart-echarts/src/Gantt/transformProps.ts b/superset-frontend/plugins/plugin-chart-echarts/src/Gantt/transformProps.ts
index 866b202460..f4c6c3f54b 100644
--- a/superset-frontend/plugins/plugin-chart-echarts/src/Gantt/transformProps.ts
+++ b/superset-frontend/plugins/plugin-chart-echarts/src/Gantt/transformProps.ts
@@ -325,6 +325,7 @@ export default function transformProps(chartProps: EchartsGanttChartProps) {
show: true,
position: 'start',
formatter: '{b}',
+ color: theme.colorText,
},
data: categoryLines,
},
diff --git a/superset-frontend/plugins/plugin-chart-echarts/test/Gantt/transformProps.test.ts b/superset-frontend/plugins/plugin-chart-echarts/test/Gantt/transformProps.test.ts
index b53d1205ea..e6626bd53c 100644
--- a/superset-frontend/plugins/plugin-chart-echarts/test/Gantt/transformProps.test.ts
+++ b/superset-frontend/plugins/plugin-chart-echarts/test/Gantt/transformProps.test.ts
@@ -257,6 +257,7 @@ describe('Gantt transformProps', () => {
show: true,
position: 'start',
formatter: '{b}',
+ color: 'rgba(0,0,0,0.88)',
},
lineStyle: expect.objectContaining({
color: '#00000000',