Skip to content

Commit 4130b92

Browse files
authored
fix(gantt-chart): fix Y-axis label visibility in dark theme (#35189)
1 parent 38297ed commit 4130b92

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

superset-frontend/plugins/plugin-chart-echarts/src/Gantt/transformProps.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -325,6 +325,7 @@ export default function transformProps(chartProps: EchartsGanttChartProps) {
325325
show: true,
326326
position: 'start',
327327
formatter: '{b}',
328+
color: theme.colorText,
328329
},
329330
data: categoryLines,
330331
},

superset-frontend/plugins/plugin-chart-echarts/test/Gantt/transformProps.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,7 @@ describe('Gantt transformProps', () => {
257257
show: true,
258258
position: 'start',
259259
formatter: '{b}',
260+
color: 'rgba(0,0,0,0.88)',
260261
},
261262
lineStyle: expect.objectContaining({
262263
color: '#00000000',

0 commit comments

Comments
 (0)