fix: mixed timeseries chart add legend margin (#35036)

This commit is contained in:
SBIN2010
2025-09-06 00:44:14 +03:00
committed by GitHub
parent 9efb80dbf4
commit 5a3182ce21
2 changed files with 68 additions and 1 deletions

View File

@@ -129,6 +129,7 @@ export default function transformProps(
theme,
inContextMenu,
emitCrossFilters,
legendState,
} = chartProps;
let focusedSeries: string | null = null;
@@ -157,6 +158,7 @@ export default function transformProps(
timeShiftColor,
contributionMode,
legendOrientation,
legendMargin,
legendType,
legendSort,
logAxis,
@@ -553,7 +555,7 @@ export default function transformProps(
legendOrientation,
addYAxisTitleOffset,
zoomable,
null,
legendMargin,
addXAxisTitleOffset,
yAxisTitlePosition,
convertInteger(yAxisTitleMargin),
@@ -716,6 +718,8 @@ export default function transformProps(
showLegend,
theme,
zoomable,
legendState,
chartPadding,
),
// @ts-ignore
data: series