Skip to content

y 轴数据都为 0 时,如何将折线显示在底部 x 轴上而不是中间? #6196

Answered by pearmini
sakura-flutter asked this question in Q&A
Discussion options

You must be logged in to vote

所以这里比较好的做法去判断数据是否都为 0。如果都为 0,那么对 domain 等进行额外的配置,否则不配置。

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by sakura-flutter
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 #6160 on April 23, 2024 07:23.