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

🥰 [FEATURE]color回调参数太少了 #3839

Open
jiangxiaoxilsy opened this issue Jan 10, 2025 · 0 comments
Open

🥰 [FEATURE]color回调参数太少了 #3839

jiangxiaoxilsy opened this issue Jan 10, 2025 · 0 comments

Comments

@jiangxiaoxilsy
Copy link

如果我想利用图表做一个类似于告警展示:比如value>100 color='red',vlaue<200,color=’green‘,我该怎么做呢?因为我做的图表是类似于低代码,无法在代码里面写死这种条件,但是现在color->({type}){}它的回调参数只有x轴的(或者说是维度字段),但是没有y轴(或者是指标字段),我就没办法通过值来自定义颜色。
需求总结:希望能通过y轴对应的值来自定义颜色,实现告警
疑问:图表在大屏中很容易被用来做告警处理,为什么官方没有考虑这种情况?

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