antvis / antvis/G2Plot

🤔 [QUESTION] Line大部分属性报缺失Error

Open
#3,753 0 comments 0 reactions 0 assignees View on GitHub
Question
Dominant language
TypeScript
Stars
2.7k
Forks
591
PR merge metrics
No merged PRs in 30d

Description

### 🐛 Question description [Please make everyone to understand it]

### 💻 Link to minimal reproduction

Please provide a link by forking these links [g2plot](https://codesandbox.io/s/g2plot-reproduction-template-gyej1) or GitHub repo. What is a minimal reproduction, and why is it required?

### 🏞 Expected result

### 🚑 Any additional [like screenshots]

* **G2Plot Version**:^2.4.31
* **Platform**:

本地跑部分属性的时候都会遇到LineOption中缺失属性的报错
![dbcde6d8b91bb0e279ba7d98df0e21e](https://github.com/antvis/G2Plot/assets/73263112/bb7dbe30-7c7b-45ba-9c83-0148771a6db4)
![image](https://github.com/antvis/G2Plot/assets/73263112/194fbb36-eb2b-4cd6-b145-1a22423cd255)
![image](https://github.com/antvis/G2Plot/assets/73263112/cd219eb2-907f-45a3-95f5-534fa6b0a0cb)
![image](https://github.com/antvis/G2Plot/assets/73263112/8bd265fa-8af4-4630-894c-1a11e5c87492)

但是我在官网上可以使用,是node还是什么别的问题吗?感谢
![image](https://github.com/antvis/G2Plot/assets/73263112/8f7034d3-2674-4879-a744-41d37e56d0f7)

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the reported LineOption missing-property errors with G2Plot v2.4.31 in the linked CodeSandbox template, then compare that local setup with the official-site example. Done means identifying why the local and official environments differ and documenting or fixing the cause of the errors.

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
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.