From 35e6e2709c9dec3d9c08280489f42b5b6a8e632e Mon Sep 17 00:00:00 2001 From: Stephen Liu <750188453@qq.com> Date: Fri, 13 May 2022 22:51:42 +0800 Subject: [PATCH] fix(plugin-chart-echarts): tooltip of big number truncated at then bottom (#20029) --- .../src/BigNumber/BigNumberWithTrendline/transformProps.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/superset-frontend/plugins/plugin-chart-echarts/src/BigNumber/BigNumberWithTrendline/transformProps.ts b/superset-frontend/plugins/plugin-chart-echarts/src/BigNumber/BigNumberWithTrendline/transformProps.ts index 913dc8c095985..faf6271302f86 100644 --- a/superset-frontend/plugins/plugin-chart-echarts/src/BigNumber/BigNumberWithTrendline/transformProps.ts +++ b/superset-frontend/plugins/plugin-chart-echarts/src/BigNumber/BigNumberWithTrendline/transformProps.ts @@ -218,6 +218,7 @@ export default function transformProps( bottom: 0, }, tooltip: { + appendToBody: true, show: true, trigger: 'axis', confine: true,