antvis / antvis/G2Plot

🤔 [QUESTION] Anyone here was able to use Donut chart ?

Open
#3,759 2 comments 2 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]
Was trying to use the Donut chart lately in my react web-app, and it say's "Module '"@antv/g2plot"' has no exported member 'Donut'"

https://antv-g2plot-v1.gitee.io/en/examples/pie/donut#ring-basic

### 💻 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**:
* **Platform**:

Contributor guide

Open the contributing guide

Research direction

Start with the linked donut chart example and the reported @antv/g2plot export error in a minimal reproduction. Check the installed G2Plot version and how the example is imported; the issue is done when the donut chart can be used without the reported TypeScript error.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.