antvis / antvis/G2Plot

🤔 [QUESTION] 阶梯折线图中,如何添加面积图

Open
#3,599 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
以官网示例为例:https://g2plot.antv.antgroup.com/examples/line/step/#line
在右侧添加如下图代码
![image](https://github.com/antvis/G2Plot/assets/32658637/28f1a41b-8919-4a15-bcae-d0feb17836be)

左侧的渲染图,会发现面积图是以普通折线图为基础渲染的,而不是以阶梯折线图渲染
![image](https://github.com/antvis/G2Plot/assets/32658637/0bd28d43-9ce0-4456-996f-c80b08ea46c0)

请问要如何实现,阶梯图的面积图呢

* **G2Plot Version**: 2.4.25
* **Platform**: chrome113.0.5672.127 window10

Contributor guide

Open the contributing guide

Research direction

Start with the linked G2Plot step-line example and inspect how its area configuration is rendered. Done means determining whether the area can follow the step geometry and documenting or implementing a supported way to produce that result; the issue names no repository file or test.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
data-visualization
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.