apache / apache/echarts

Basic Line Chart lose points connection if one value is over 1e10

Open
#17,938 0 comments 0 reactions 0 assignees View on GitHub
bug en topic: line
Dominant language
TypeScript
Stars
67.3k
Forks
19.8k
Avg merge
11d 14h
Merged PRs (30d)
8

Description

### Version

5.4

### Link to Minimal Reproduction

_No response_

### Steps to Reproduce

Using example on site of "Basic Line Chart" and adding scale option "min" e "max" happen the bug.
STEP1. Normal execution
![image](https://user-images.githubusercontent.com/43347749/202663409-484ea935-cd82-431d-868e-81389224f055.png)
STEP2. One value < 1e10. Show expected result
![image](https://user-images.githubusercontent.com/43347749/202663702-b1469594-742e-4b35-a110-43f8a0596ac4.png)
STEP3. One value > 1e10. Unexpected result. Lose point connection
![image](https://user-images.githubusercontent.com/43347749/202663972-56406019-c151-412f-805e-95b81e03ac7a.png)

### Current Behavior

Already described in "Step to reproduce"

### Expected Behavior

In step 3 some result of step2

### Environment

```markdown
- OS: Windows11
- Browser: Chrome
- Framework: Echarts site
```

### Any additional comments?

_No response_

Contributor guide

Open the contributing guide

Research direction

Start with the site's Basic Line Chart example and reproduce the behavior in ECharts 5.4 by adding scale min and max values, then test a data point above 1e10. Done means the line keeps its point connection and matches the expected result shown for the lower-value case.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
data-visualization
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.