mirror of
https://github.com/apache/superset.git
synced 2026-05-07 08:54:23 +00:00
feat(explore): Add time shift color control to ECharts (#29897)
This commit is contained in:
@@ -299,6 +299,7 @@ const config: ControlPanelConfig = {
|
||||
expanded: true,
|
||||
controlSetRows: [
|
||||
['color_scheme'],
|
||||
['time_shift_color'],
|
||||
...createCustomizeSection(t('Query A'), ''),
|
||||
...createCustomizeSection(t('Query B'), 'B'),
|
||||
[
|
||||
|
||||
@@ -151,6 +151,7 @@ export default function transformProps(
|
||||
areaB,
|
||||
annotationLayers,
|
||||
colorScheme,
|
||||
timeShiftColor,
|
||||
contributionMode,
|
||||
legendOrientation,
|
||||
legendType,
|
||||
@@ -406,6 +407,7 @@ export default function transformProps(
|
||||
showValueIndexes: showValueIndexesA,
|
||||
totalStackedValues,
|
||||
thresholdValues,
|
||||
timeShiftColor,
|
||||
},
|
||||
);
|
||||
if (transformedSeries) series.push(transformedSeries);
|
||||
@@ -455,6 +457,7 @@ export default function transformProps(
|
||||
showValueIndexes: showValueIndexesB,
|
||||
totalStackedValues: totalStackedValuesB,
|
||||
thresholdValues: thresholdValuesB,
|
||||
timeShiftColor,
|
||||
},
|
||||
);
|
||||
if (transformedSeries) series.push(transformedSeries);
|
||||
|
||||
Reference in New Issue
Block a user