chore(charts): echarts left padding too big and automation of title (#36993)

This commit is contained in:
Luis Sánchez
2026-02-02 20:48:03 -03:00
committed by GitHub
parent 4b0d497513
commit 91131d5996
8 changed files with 644 additions and 10 deletions

View File

@@ -574,8 +574,10 @@ export default function transformProps(
onLegendScroll,
} = hooks;
const addYAxisLabelOffset = !!yAxisTitle;
const addXAxisLabelOffset = !!xAxisTitle;
const addYAxisLabelOffset =
!!yAxisTitle && convertInteger(yAxisTitleMargin) !== 0;
const addXAxisLabelOffset =
!!xAxisTitle && convertInteger(xAxisTitleMargin) !== 0;
const padding = getPadding(
showLegend,
legendOrientation,