antvis / antvis/G2Plot

🤔 图表的左右边距可以去掉么

Open
#2,728 1 comment 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

不想要这两片空白

![image](https://user-images.githubusercontent.com/31715036/126887030-1de8282b-34af-4c3b-9367-d1d8be04ffe1.png)

### 🚑 Any additional [like screenshots]

* **G2Plot Version**:
* **Platform**:

Contributor guide

Open the contributing guide

Research direction

Start with the linked G2Plot reproduction template and reproduce the chart shown in the screenshot. Determine whether the chart can be configured to fill the container without the two blank side areas; done means the chart spans the box width.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
data-visualization
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 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.