This is an automated email from the ASF dual-hosted git repository.
msyavuz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git
The following commit(s) were added to refs/heads/master by this push:
new 4e4fa53c8d9 fix: Rename Truncate Axis to Truncate Y Axis in bar chart
controls (#37403)
4e4fa53c8d9 is described below
commit 4e4fa53c8d95a24e0c9777ea226c2f0c7d3dc096
Author: bikashbarua <[email protected]>
AuthorDate: Thu Feb 5 15:25:51 2026 +0530
fix: Rename Truncate Axis to Truncate Y Axis in bar chart controls (#37403)
Co-authored-by: Joe Li <[email protected]>
Co-authored-by: SBIN2010 <[email protected]>
---
.../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,