antvis / antvis/G2Plot

数据中包含科学计数法表示的大数,导致图表整个页面崩溃

Open
#2,432 3 comments 0 reactions 0 assignees View on GitHub
异常数据
Dominant language
TypeScript
Stars
2.7k
Forks
591
PR merge metrics
No merged PRs in 30d

Description

* **G2Plot Version**: ^2.3.1
* **Platform**: Mac Edge 88.0.705.74
* **Mini Showcase(like screenshots)**: https://g2plot.antv.vision/zh/examples/column/basic#basic
* **CodePen Link**:

去到官网站任意图表下面,将数值改成科学计数法,数值达到一定时(具体阈值没试出来)整个网站会崩溃。
![image](https://user-images.githubusercontent.com/6588202/111245746-14355300-8640-11eb-91b5-a6202eaa7b2a.png)
![image](https://user-images.githubusercontent.com/6588202/111245765-1b5c6100-8640-11eb-924a-b24a76abc696.png)

Contributor guide

Open the contributing guide

Research direction

Start with the linked G2Plot basic column example and reproduce the crash by replacing chart values with scientific notation, increasing the values until the failure occurs. Done means the chart page remains usable with large scientific-notation values; the issue does not identify a source file or test to inspect.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
data-visualization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.