This is an automated email from the ASF dual-hosted git repository.
rusackas 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 dcdcf88969 chore(chart): rollback legend top alignment to the right
(#36994)
dcdcf88969 is described below
commit dcdcf889697fb6e087cb87170fac58c685460561
Author: Luis Sánchez <[email protected]>
AuthorDate: Mon Jan 12 15:30:34 2026 -0300
chore(chart): rollback legend top alignment to the right (#36994)
---
superset-frontend/plugins/plugin-chart-echarts/src/utils/series.ts | 3 ---
1 file changed, 3 deletions(-)
diff --git a/superset-frontend/plugins/plugin-chart-echarts/src/utils/series.ts
b/superset-frontend/plugins/plugin-chart-echarts/src/utils/series.ts
index 0660c77dcb..5befd6ab54 100644
--- a/superset-frontend/plugins/plugin-chart-echarts/src/utils/series.ts
+++ b/superset-frontend/plugins/plugin-chart-echarts/src/utils/series.ts
@@ -495,9 +495,6 @@ export function getLegendProps(
case LegendOrientation.Top:
legend.top = 0;
legend.right = zoomable ? TIMESERIES_CONSTANTS.legendTopRightOffset : 0;
- if (padding?.left) {
- legend.left = padding.left;
- }
break;
default:
legend.top = 0;