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
Browse files Browse the repository at this point in the history
  • Loading branch information
villebro committed Nov 10, 2021
1 parent ba2703f commit ff5262f
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

0 comments on commit ff5262f

Please sign in to comment.