antvis/G2

折线图添加预测辅助线功能 #3782

guonanci posted onGitHub

  • I have searched the issues of this repository and believe that this is not a duplicate.

What problem does this feature solve?

我们的图表数据有部分是后端算法预测出来的数据。同1条折线上最后一段时间周期内是预测的数据。比方说未来的1星期内可能产生的数据

What does the proposed API look like?

line方法采用function形式时,期望能对line上的每个点进行style设置

<!-- generated by antv-issue-helper. DO NOT REMOVE -->


这个预测辅助线一般表现为虚线,比如2021-12-17到2022-01-17内为实现,2022-01-18到2022-01-24为虚线(有上下阈值所包含的阴影渲染多边形区)。我再看看g2折线图是否有这样的定制化能力,或者创建一种新的图表

posted by guonanci over 3 years ago

Fund this Issue

$0.00
Funded

Pull requests