mirror of
https://github.com/apache/superset.git
synced 2026-04-24 02:25:13 +00:00
feat(plugin-chart-echarts): [feature-parity] support extra control for the area chart V2 (#16493)
* feat(echarts): [feature-parity] support extra control * add extra control for plugin * refactor: extract ExtraControl * fix: lint * fix some problems
This commit is contained in:
@@ -190,7 +190,7 @@ export default function transformProps(
|
||||
areaOpacity: opacity,
|
||||
seriesType,
|
||||
showValue,
|
||||
stack,
|
||||
stack: Boolean(stack),
|
||||
yAxisIndex,
|
||||
filterState,
|
||||
seriesKey: entry.name,
|
||||
@@ -207,7 +207,7 @@ export default function transformProps(
|
||||
areaOpacity: opacityB,
|
||||
seriesType: seriesTypeB,
|
||||
showValue: showValueB,
|
||||
stack: stackB,
|
||||
stack: Boolean(stackB),
|
||||
yAxisIndex: yAxisIndexB,
|
||||
filterState,
|
||||
seriesKey: primarySeries.has(entry.name as string)
|
||||
|
||||
@@ -32,6 +32,7 @@ import {
|
||||
EchartsLegendFormData,
|
||||
EchartsTitleFormData,
|
||||
DEFAULT_TITLE_FORM_DATA,
|
||||
StackType,
|
||||
} from '../types';
|
||||
import {
|
||||
DEFAULT_FORM_DATA as TIMESERIES_DEFAULTS,
|
||||
@@ -78,8 +79,8 @@ export type EchartsMixedTimeseriesFormData = QueryFormData & {
|
||||
seriesTypeB: EchartsTimeseriesSeriesType;
|
||||
showValue: boolean;
|
||||
showValueB: boolean;
|
||||
stack: boolean;
|
||||
stackB: boolean;
|
||||
stack: StackType;
|
||||
stackB: StackType;
|
||||
yAxisIndex?: number;
|
||||
yAxisIndexB?: number;
|
||||
groupby: QueryFormColumn[];
|
||||
|
||||
Reference in New Issue
Block a user