fix: duplicate `truncateXAxis` option in `BarChart` (#29916)

This commit is contained in:
dmitriyVasilievich1986 2024-08-28 17:02:39 +02:00 committed by GitHub
parent c428108713
commit e886cc40fe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -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'),