Skip to content

data是空数组的时候可以提供一个空坐标样式吗,现在是一片空白 #5658

Closed Answered by pearmini
KuduroJS asked this question in Q&A
Discussion options

You must be logged in to vote

理论上讲不同的图表在空数据的情况下展现是不同的,G2 没有办法提供通用解决方案。可以在 data 为空的时候,自己 mock 数据,隐藏 mark 来实现如上效果。

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@KuduroJS
Comment options

Answer selected by KuduroJS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #5657 on October 19, 2023 02:32.