This is an automated email from the ASF dual-hosted git repository.

michaelsmolina pushed a commit to branch 5.0
in repository https://gitbox.apache.org/repos/asf/superset.git

commit 699d22c5fe767d7759dc4c93ba6cf8464603a1bd
Author: Maxime Beauchemin <[email protected]>
AuthorDate: Tue Feb 11 10:58:49 2025 -0800

    fix: set `Rich tooltip` -> 'Show percentage' to false by default (#32212)
    
    (cherry picked from commit d3b854a8339bb33ada29c6c83f285995c33cf3c5)
---
 superset-frontend/plugins/plugin-chart-echarts/src/controls.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/superset-frontend/plugins/plugin-chart-echarts/src/controls.tsx 
b/superset-frontend/plugins/plugin-chart-echarts/src/controls.tsx
index db7daa02b6..5c52bb1762 100644
--- a/superset-frontend/plugins/plugin-chart-echarts/src/controls.tsx
+++ b/superset-frontend/plugins/plugin-chart-echarts/src/controls.tsx
@@ -230,7 +230,7 @@ const tooltipPercentageControl: ControlSetItem = {
     type: 'CheckboxControl',
     label: t('Show percentage'),
     renderTrigger: true,
-    default: true,
+    default: false,
     description: t('Whether to display the percentage value in the tooltip'),
     visibility: ({ controls, form_data }: ControlPanelsContainerProps) =>
       Boolean(controls?.rich_tooltip?.value) &&

Reply via email to