[Bug] warning z / z2 / zlevel of displayable is invalid, which may cause unexpected errors
See original GitHub issueVersion
5.3.2
Link to Minimal Reproduction
https://codepen.io/likunone/pen/ExQjJVW?editors=1111
Steps to Reproduce
This warning appears the first time the mouse is placed over the chart
Current Behavior
This warning appears the first time the mouse is placed over the chart
Expected Behavior
Mouse on no warning
Environment
- OS:
- Browser:
- Framework:
Any additional comments?
No response
Issue Analytics
- State:
- Created a year ago
- Reactions:2
- Comments:7 (2 by maintainers)
Top Results From Across the Web
[GitHub] [echarts] echarts-bot[bot] closed issue #16983: [Bug ...
echarts-bot[bot] closed issue #16983: [Bug] warning z / z2 / zlevel of displayable is invalid, which may cause unexpected errors URL: ...
Read more >Console Warning with z / z2 / zlevel · Issue #203 - GitHub
Describe the bug There is a console error once user opens any page ... z / z2 / zlevel of displayable is invalid,...
Read more >echarts - UNPKG
... console.warn('z / z2 / zlevel of displayable is invalid, which may cause unexpected errors');\n}\nfunction shapeCompareFunc(a, b) {\n if (a.zlevel ...
Read more >【Echart Bug记录】z / z2 / zlevel of displayable is invalid ...
使用echart遇到的bug,z / z2 / zlevel of displayable is invalid, which may cause unexpected errors.
Read more >Changelog - Apache ECharts
(Ovilia); [Fix] [custom] Fix custom elements probably can't be removed when ... [Fix] [canvas] Fix unexpected none or null fillStyle may be warned...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
same here
Hey guys, i fixed the issue. You need to declare “zlevel” and “z” properties on echarts series option.
series: [ { name: ..., areaStyle...., itemStyle ...., zlevel: 9 , z: 9, data: ...., },
In my case, I have 2 series of line type, but like @andrearoota, I have the trigger option: “axis” on my tooltip. Also, you can see the description of these properties in the doc: https://echarts.apache.org/en/option.html#series-line.zlevel;