mirror of
https://github.com/apache/superset.git
synced 2026-04-18 23:55:00 +00:00
feat(echarts): Implement stream graph for Echarts Timeseries (#23410)
This commit is contained in:
committed by
GitHub
parent
a5c31b2426
commit
b0d83e8c50
@@ -32,7 +32,7 @@ import {
|
||||
import { format, LegendComponentOption, SeriesOption } from 'echarts';
|
||||
import { sumBy, meanBy, minBy, maxBy, orderBy } from 'lodash';
|
||||
import {
|
||||
AreaChartExtraControlsValue,
|
||||
StackControlsValue,
|
||||
NULL_STRING,
|
||||
TIMESERIES_CONSTANTS,
|
||||
} from '../constants';
|
||||
@@ -207,7 +207,7 @@ export function extractSeries(
|
||||
if (isFillNeighborValue) {
|
||||
value = fillNeighborValue;
|
||||
} else if (
|
||||
stack === AreaChartExtraControlsValue.Expand &&
|
||||
stack === StackControlsValue.Expand &&
|
||||
totalStackedValues.length > 0
|
||||
) {
|
||||
value = ((value || 0) as number) / totalStackedValues[idx];
|
||||
|
||||
Reference in New Issue
Block a user