mirror of
https://github.com/apache/superset.git
synced 2026-04-23 10:04:45 +00:00
feat: derived metrics use different line style (#20242)
This commit is contained in:
@@ -87,6 +87,7 @@ export function transformSeries(
|
||||
seriesKey?: OptionName;
|
||||
sliceId?: number;
|
||||
isHorizontal?: boolean;
|
||||
lineStyle?: LineStyleOption;
|
||||
},
|
||||
): SeriesOption | undefined {
|
||||
const { name } = series;
|
||||
@@ -183,8 +184,8 @@ export function transformSeries(
|
||||
}
|
||||
}
|
||||
const lineStyle = isConfidenceBand
|
||||
? { opacity: OpacityEnum.Transparent }
|
||||
: { opacity };
|
||||
? { ...opts.lineStyle, opacity: OpacityEnum.Transparent }
|
||||
: { ...opts.lineStyle, opacity };
|
||||
return {
|
||||
...series,
|
||||
yAxisIndex,
|
||||
|
||||
Reference in New Issue
Block a user