diff --git a/frontend/src/config/testPlan.ts b/frontend/src/config/testPlan.ts
index 76fd3565c8..1b1402907c 100644
--- a/frontend/src/config/testPlan.ts
+++ b/frontend/src/config/testPlan.ts
@@ -151,20 +151,21 @@ export const toolTipConfig: TooltipOption = {
color: '#959598',
},
position: 'top',
- backgroundColor: '#fff',
- padding: 16,
+ backgroundColor: 'transparent',
+ padding: 0,
borderWidth: 0,
appendTo: 'body',
formatter(params: any) {
const html = `
-
-
-
+
-
${addCommasToNumber(params.value)}
+ }">
+
+
${params.name}
+
+
${addCommasToNumber(params.value)}
`;
return html;
diff --git a/frontend/src/views/workbench/homePage/utils.ts b/frontend/src/views/workbench/homePage/utils.ts
index 857fae4e6d..4e6a4088f2 100644
--- a/frontend/src/views/workbench/homePage/utils.ts
+++ b/frontend/src/views/workbench/homePage/utils.ts
@@ -107,6 +107,7 @@ export function getCommonBarOptions(
type: 'shadow',
axis: 'auto',
},
+ backgroundColor: 'transparent',
formatter(params: any) {
let testPlanHtml = '';
// 如果是测试计划未分配
@@ -130,7 +131,7 @@ export function getCommonBarOptions(
paramsList = params;
}
const html = `
-