Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
1 task
guonanci opened this issue Jan 17, 2022 · 1 comment
Closed
1 task

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

guonanci opened this issue Jan 17, 2022 · 1 comment

Comments

@guonanci
Copy link

  • 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设置

@guonanci
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant