This is an automated email from the ASF dual-hosted git repository.
zihaoxiang pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git
The following commit(s) were added to refs/heads/dev by this push:
new c0d776381c [Fix-14531][UI] Tooltip of Chart not show text in light
theme mode (#14532)
c0d776381c is described below
commit c0d776381c20b42135e8f89ba335d7975da00522
Author: arlendp <[email protected]>
AuthorDate: Tue Jul 18 17:56:36 2023 +0800
[Fix-14531][UI] Tooltip of Chart not show text in light theme mode (#14532)
Co-authored-by: xiangzihao <[email protected]>
Co-authored-by: Rick Cheng <[email protected]>
Co-authored-by: Eric Gao <[email protected]>
---
dolphinscheduler-ui/src/components/chart/modules/Bar.tsx | 1 -
dolphinscheduler-ui/src/components/chart/modules/Pie.tsx | 3 +--
.../src/views/projects/workflow/relation/components/Graph.tsx | 1 -
3 files changed, 1 insertion(+), 4 deletions(-)
diff --git a/dolphinscheduler-ui/src/components/chart/modules/Bar.tsx
b/dolphinscheduler-ui/src/components/chart/modules/Bar.tsx
index 8977ca28f8..3375089880 100644
--- a/dolphinscheduler-ui/src/components/chart/modules/Bar.tsx
+++ b/dolphinscheduler-ui/src/components/chart/modules/Bar.tsx
@@ -50,7 +50,6 @@ const BarChart = defineComponent({
axisPointer: {
type: 'shadow'
},
- backgroundColor: '#fff'
},
grid: {
left: '3%',
diff --git a/dolphinscheduler-ui/src/components/chart/modules/Pie.tsx
b/dolphinscheduler-ui/src/components/chart/modules/Pie.tsx
index 0f81fc3591..ac1f31f1c2 100644
--- a/dolphinscheduler-ui/src/components/chart/modules/Pie.tsx
+++ b/dolphinscheduler-ui/src/components/chart/modules/Pie.tsx
@@ -41,8 +41,7 @@ const PieChart = defineComponent({
const option = {
tooltip: {
- trigger: 'item',
- backgroundColor: '#fff'
+ trigger: 'item'
},
legend: {
bottom: '0%',
diff --git
a/dolphinscheduler-ui/src/views/projects/workflow/relation/components/Graph.tsx
b/dolphinscheduler-ui/src/views/projects/workflow/relation/components/Graph.tsx
index ad6d54332b..fd2d15b222 100644
---
a/dolphinscheduler-ui/src/views/projects/workflow/relation/components/Graph.tsx
+++
b/dolphinscheduler-ui/src/views/projects/workflow/relation/components/Graph.tsx
@@ -70,7 +70,6 @@ const GraphChart = defineComponent({
const option: any = {
tooltip: {
confine: true,
- backgroundColor: '#fff',
formatter: (params: any) => {
if (!params.data.name) {
return false