mirror of
https://github.com/apache/superset.git
synced 2026-04-25 11:04:48 +00:00
fix(mixed-timeseries-plugin): Second query stacks stacked on top of first query series (#29119)
This commit is contained in:
committed by
GitHub
parent
5660f8e554
commit
68fd189586
@@ -151,6 +151,7 @@ export function transformSeries(
|
||||
areaOpacity?: number;
|
||||
seriesType?: EchartsTimeseriesSeriesType;
|
||||
stack?: StackType;
|
||||
stackIdSuffix?: string;
|
||||
yAxisIndex?: number;
|
||||
showValue?: boolean;
|
||||
onlyTotal?: boolean;
|
||||
@@ -179,6 +180,7 @@ export function transformSeries(
|
||||
areaOpacity = 1,
|
||||
seriesType,
|
||||
stack,
|
||||
stackIdSuffix,
|
||||
yAxisIndex = 0,
|
||||
showValue,
|
||||
onlyTotal,
|
||||
@@ -225,6 +227,9 @@ export function transformSeries(
|
||||
} else if (stack && isTrend) {
|
||||
stackId = getTimeCompareStackId(forecastSeries.type, timeCompare, name);
|
||||
}
|
||||
if (stackId && stackIdSuffix) {
|
||||
stackId += stackIdSuffix;
|
||||
}
|
||||
let plotType;
|
||||
if (
|
||||
!isConfidenceBand &&
|
||||
|
||||
Reference in New Issue
Block a user