Skip to content
This repository has been archived by the owner on Dec 10, 2021. It is now read-only.

Commit

Permalink
fix(plugin-chart-echarts): fix opacity on area chart (#1464)
Browse files Browse the repository at this point in the history
  • Loading branch information
villebro committed Nov 10, 2021
1 parent a2f3423 commit 9e46f98
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions plugins/plugin-chart-echarts/src/Timeseries/transformers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -190,14 +190,12 @@ export function transformSeries(
: undefined,
stack: stackId,
lineStyle,
areaStyle: area
? {
opacity:
forecastSeries.type === ForecastSeriesEnum.ForecastUpper
? opacity * areaOpacity
: 0,
}
: undefined,
areaStyle:
area || forecastSeries.type === ForecastSeriesEnum.ForecastUpper
? {
opacity: opacity * areaOpacity,
}
: undefined,
emphasis,
showSymbol,
symbolSize: markerSize,
Expand Down

1 comment on commit 9e46f98

@vercel
Copy link

@vercel vercel bot commented on 9e46f98 Nov 10, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.