From 4e4fa53c8d95a24e0c9777ea226c2f0c7d3dc096 Mon Sep 17 00:00:00 2001 From: bikashbarua <124085400+bikashbarua@users.noreply.github.com> Date: Thu, 5 Feb 2026 15:25:51 +0530 Subject: [PATCH] fix: Rename Truncate Axis to Truncate Y Axis in bar chart controls (#37403) Co-authored-by: Joe Li Co-authored-by: SBIN2010 --- .../src/Timeseries/Regular/Bar/controlPanel.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/superset-frontend/plugins/plugin-chart-echarts/src/Timeseries/Regular/Bar/controlPanel.tsx b/superset-frontend/plugins/plugin-chart-echarts/src/Timeseries/Regular/Bar/controlPanel.tsx index 6fffbc8e585..267520975cd 100644 --- a/superset-frontend/plugins/plugin-chart-echarts/src/Timeseries/Regular/Bar/controlPanel.tsx +++ b/superset-frontend/plugins/plugin-chart-echarts/src/Timeseries/Regular/Bar/controlPanel.tsx @@ -243,10 +243,12 @@ function createAxisControl(axis: 'x' | 'y'): ControlSetRow[] { name: 'truncateYAxis', config: { type: 'CheckboxControl', - label: t('Truncate Axis'), + label: t('Truncate Y Axis'), default: truncateYAxis, renderTrigger: true, - description: t('It’s not recommended to truncate axis in Bar chart.'), + description: t( + 'It’s not recommended to truncate Y axis in Bar chart.', + ), visibility: ({ controls }: ControlPanelsContainerProps) => isXAxis ? isHorizontal(controls) : isVertical(controls), disableStash: true,