Version
5.1.1
Reproduction link
https://jsfiddle.net/qcmgetan/
Steps to reproduce
Simply mouse over the serie.
What is expected?
Emphasis state should be disabled
What is actually happening?
Emphasis state is not disabled
I can't manage by any way to prevent my series to go in emphasis state on mouse over, though emphasis.focus: "none" and emphasis.scale: false or even serie.silent: true are set.
lineStyle.width grows to 1px more and areaStyle.color also change.
The weird part is that if you set serie.emphasis.lineStyle.width to 1 it takes account of it and "fix" the problem, so it looks like emphasis is still enabled therefore emphasis.scale is set to false. I could go with that but I couldn't manage to find a way to set serie.areaStyle.opacity as identical.
If I set serie.emphasis: null, serie.lineStyle.width do not change but serie.areaStyle.color does.
I did not have this issue with Echarts 4.x
Version
5.1.1
Reproduction link
https://jsfiddle.net/qcmgetan/
Steps to reproduce
Simply mouse over the serie.
What is expected?
Emphasis state should be disabled
What is actually happening?
Emphasis state is not disabled
I can't manage by any way to prevent my series to go in emphasis state on mouse over, though
emphasis.focus: "none"andemphasis.scale: falseor evenserie.silent: trueare set.lineStyle.width grows to 1px more and areaStyle.color also change.
The weird part is that if you set
serie.emphasis.lineStyle.widthto 1 it takes account of it and "fix" the problem, so it looks like emphasis is still enabled thereforeemphasis.scaleis set tofalse. I could go with that but I couldn't manage to find a way to setserie.areaStyle.opacityas identical.If I set
serie.emphasis: null,serie.lineStyle.widthdo not change butserie.areaStyle.colordoes.I did not have this issue with Echarts 4.x