question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Bug] warning z / z2 / zlevel of displayable is invalid, which may cause unexpected errors

See original GitHub issue

Version

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:closed
  • Created a year ago
  • Reactions:2
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

8reactions
Demi1024commented, May 6, 2022

same here

5reactions
VictorMarques98commented, May 20, 2022

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;

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found