mirror of
https://gitee.com/dolphinscheduler/DolphinScheduler.git
synced 2024-12-02 12:17:43 +08:00
[Fix-14531][UI] Tooltip of Chart not show text in light theme mode (#14532)
Co-authored-by: xiangzihao <460888207@qq.com> Co-authored-by: Rick Cheng <rickchengx@gmail.com> Co-authored-by: Eric Gao <ericgao.apache@gmail.com>
This commit is contained in:
parent
1ba0aecc71
commit
c0d776381c
@ -50,7 +50,6 @@ const BarChart = defineComponent({
|
||||
axisPointer: {
|
||||
type: 'shadow'
|
||||
},
|
||||
backgroundColor: '#fff'
|
||||
},
|
||||
grid: {
|
||||
left: '3%',
|
||||
|
@ -41,8 +41,7 @@ const PieChart = defineComponent({
|
||||
|
||||
const option = {
|
||||
tooltip: {
|
||||
trigger: 'item',
|
||||
backgroundColor: '#fff'
|
||||
trigger: 'item'
|
||||
},
|
||||
legend: {
|
||||
bottom: '0%',
|
||||
|
@ -70,7 +70,6 @@ const GraphChart = defineComponent({
|
||||
const option: any = {
|
||||
tooltip: {
|
||||
confine: true,
|
||||
backgroundColor: '#fff',
|
||||
formatter: (params: any) => {
|
||||
if (!params.data.name) {
|
||||
return false
|
||||
|
Loading…
Reference in New Issue
Block a user