You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by so...@apache.org on 2025/10/16 09:31:41 UTC
(superset) branch fix/axis-title-labels-sentence-case created (now 666f9f1fee)
This is an automated email from the ASF dual-hosted git repository.
sophieyou pushed a change to branch fix/axis-title-labels-sentence-case
in repository https://gitbox.apache.org/repos/asf/superset.git
at 666f9f1fee fix(charts): update axis title labels to sentence case
This branch includes the following new commits:
new 666f9f1fee fix(charts): update axis title labels to sentence case
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(superset) 01/01: fix(charts): update axis title labels to sentence case
Posted by so...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
sophieyou pushed a commit to branch fix/axis-title-labels-sentence-case
in repository https://gitbox.apache.org/repos/asf/superset.git
commit 666f9f1fee2bc40e24c52f878d02417b149201cf
Author: yousoph <so...@gmail.com>
AuthorDate: Thu Oct 16 02:21:25 2025 -0700
fix(charts): update axis title labels to sentence case
Changed "AXIS TITLE MARGIN" and "AXIS TITLE POSITION" labels
from ALL CAPS to proper sentence case in bar and bubble charts.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <no...@anthropic.com>
---
.../plugins/plugin-chart-echarts/src/Bubble/controlPanel.tsx | 4 ++--
.../src/Timeseries/Regular/Bar/controlPanel.tsx | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/superset-frontend/plugins/plugin-chart-echarts/src/Bubble/controlPanel.tsx b/superset-frontend/plugins/plugin-chart-echarts/src/Bubble/controlPanel.tsx
index 3c58e0aecf..c22264e2d1 100644
--- a/superset-frontend/plugins/plugin-chart-echarts/src/Bubble/controlPanel.tsx
+++ b/superset-frontend/plugins/plugin-chart-echarts/src/Bubble/controlPanel.tsx
@@ -142,7 +142,7 @@ const config: ControlPanelConfig = {
type: 'SelectControl',
freeForm: true,
clearable: true,
- label: t('X AXIS TITLE MARGIN'),
+ label: t('X axis title margin'),
renderTrigger: true,
default: sections.TITLE_MARGIN_OPTIONS[1],
choices: formatSelectOptions(sections.TITLE_MARGIN_OPTIONS),
@@ -214,7 +214,7 @@ const config: ControlPanelConfig = {
type: 'SelectControl',
freeForm: true,
clearable: true,
- label: t('Y AXIS TITLE MARGIN'),
+ label: t('Y axis title margin'),
renderTrigger: true,
default: sections.TITLE_MARGIN_OPTIONS[1],
choices: formatSelectOptions(sections.TITLE_MARGIN_OPTIONS),
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 9a26c3e8a6..894c6e51ef 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
@@ -81,7 +81,7 @@ function createAxisTitleControl(axis: 'x' | 'y'): ControlSetRow[] {
type: 'SelectControl',
freeForm: true,
clearable: true,
- label: t('AXIS TITLE MARGIN'),
+ label: t('Axis title margin'),
renderTrigger: true,
default: sections.TITLE_MARGIN_OPTIONS[0],
choices: formatSelectOptions(sections.TITLE_MARGIN_OPTIONS),
@@ -114,7 +114,7 @@ function createAxisTitleControl(axis: 'x' | 'y'): ControlSetRow[] {
type: 'SelectControl',
freeForm: true,
clearable: true,
- label: t('AXIS TITLE MARGIN'),
+ label: t('Axis title margin'),
renderTrigger: true,
default: sections.TITLE_MARGIN_OPTIONS[1],
choices: formatSelectOptions(sections.TITLE_MARGIN_OPTIONS),
@@ -132,7 +132,7 @@ function createAxisTitleControl(axis: 'x' | 'y'): ControlSetRow[] {
type: 'SelectControl',
freeForm: true,
clearable: false,
- label: t('AXIS TITLE POSITION'),
+ label: t('Axis title position'),
renderTrigger: true,
default: sections.TITLE_POSITION_OPTIONS[0][0],
choices: sections.TITLE_POSITION_OPTIONS,