apache / apache/echarts

Overlapping line graph areas fight for foreground layer on mouse movement

Open
#14,698 5 comments 0 reactions 0 assignees View on GitHub
difficulty: easy discussion-required en enhancement pending
Dominant language
TypeScript
Stars
67.3k
Forks
19.8k
Avg merge
11d 14h
Merged PRs (30d)
8

Description

### Version
5.0.2

### Steps to reproduce
1. Draw overlapping line graphs.
2. Move mouse over overlapping area.

### What is expected?
Chart should display consistently, with one line in front of the other, that does not change.

### What is actually happening?
As mouse moves over the overlapping area, lines swap foreground/background layers in a pseudo-random fashion, as they fight for the foreground layer.

* **Top example** is from different charting software.
* **Bottom example** is ECharts 5.0.2.

![GrvyJdZs17](https://user-images.githubusercontent.com/470626/115109194-3d614000-9f6c-11eb-94e1-4a1542029e98.gif)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.