mirror of
https://github.com/apache/superset.git
synced 2026-04-14 13:44:46 +00:00
fix: duplicate truncateXAxis option in BarChart (#29916)
This commit is contained in:
committed by
GitHub
parent
c428108713
commit
e886cc40fe
@@ -213,8 +213,6 @@ function createAxisControl(axis: 'x' | 'y'): ControlSetRow[] {
|
||||
},
|
||||
},
|
||||
],
|
||||
[truncateXAxis],
|
||||
[xAxisBounds],
|
||||
[
|
||||
{
|
||||
name: 'truncateYAxis',
|
||||
@@ -314,6 +312,8 @@ const config: ControlPanelConfig = {
|
||||
...legendSection,
|
||||
[<ControlSubSectionHeader>{t('X Axis')}</ControlSubSectionHeader>],
|
||||
...createAxisControl('x'),
|
||||
[truncateXAxis],
|
||||
[xAxisBounds],
|
||||
...richTooltipSection,
|
||||
[<ControlSubSectionHeader>{t('Y Axis')}</ControlSubSectionHeader>],
|
||||
...createAxisControl('y'),
|
||||
|
||||
Reference in New Issue
Block a user