chore: bump echarts to 5.3.0 (#18162)

* chore: bump echarts to 5.3.0

* change to official 5.3.0 and reintroduce bold effect
This commit is contained in:
Ville Brofeldt
2022-01-27 11:26:00 +02:00
committed by GitHub
parent a2bad7551e
commit dbe0a8b519
5 changed files with 30 additions and 18 deletions

View File

@@ -198,7 +198,15 @@ export function transformSeries(
opacity: opacity * areaOpacity,
}
: undefined,
emphasis,
emphasis: {
// bold on hover as required since 5.3.0 to retain backwards feature parity:
// https://apache.github.io/echarts-handbook/en/basics/release-note/5-3-0/#removing-the-default-bolding-emphasis-effect-in-the-line-chart
// TODO: should consider only adding emphasis to currently hovered series
lineStyle: {
width: 'bolder',
},
...emphasis,
},
showSymbol,
symbolSize: markerSize,
label: {