Skip to content

Commit e36a1c2

Browse files
bikashbaruasadpandajoeSBIN2010
committed
fix: Rename Truncate Axis to Truncate Y Axis in bar chart controls (#37403)
Co-authored-by: Joe Li <joe@preset.io> Co-authored-by: SBIN2010 <Sbin2010@mail.ru> (cherry picked from commit 4e4fa53)
1 parent fc1690f commit e36a1c2

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

  • superset-frontend/plugins/plugin-chart-echarts/src/Timeseries/Regular/Bar

superset-frontend/plugins/plugin-chart-echarts/src/Timeseries/Regular/Bar/controlPanel.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,10 +241,12 @@ function createAxisControl(axis: 'x' | 'y'): ControlSetRow[] {
241241
name: 'truncateYAxis',
242242
config: {
243243
type: 'CheckboxControl',
244-
label: t('Truncate Axis'),
244+
label: t('Truncate Y Axis'),
245245
default: truncateYAxis,
246246
renderTrigger: true,
247-
description: t('It’s not recommended to truncate axis in Bar chart.'),
247+
description: t(
248+
'It’s not recommended to truncate Y axis in Bar chart.',
249+
),
248250
visibility: ({ controls }: ControlPanelsContainerProps) =>
249251
isXAxis ? isHorizontal(controls) : isVertical(controls),
250252
disableStash: true,

0 commit comments

Comments
 (0)