Skip to content

Commit

Permalink
fix(plugin-chart-echarts): fix opacity on area chart (apache#1464)
Browse files Browse the repository at this point in the history
  • Loading branch information
villebro authored and zhaoyongjie committed Nov 24, 2021
1 parent b255d89 commit a94750f
Showing 1 changed file with 6 additions and 8 deletions.
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 a94750f

Please sign in to comment.