We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
官方演示demo 就可以复现,数据给空就行
https://g2plot.antv.vision/zh/examples/case/statistical-scenario#trend-funnel
The text was updated successfully, but these errors were encountered:
+1, G2的 漏斗图为空不会报错
Sorry, something went wrong.
https://github.com/antvis/G2Plot/blob/master/src/plots/funnel/geometries/basic.ts#L19
应该在这里做个判断,如果 data 是空数组,直接 chart.data([]);
chart.data([]);
fix: funnel with empty data, #2616
057b654
fix: funnel with empty data, #2616 (#2658)
ef79733
hustcc
liuzhenying
Successfully merging a pull request may close this issue.
🐛 Bug description
官方演示demo 就可以复现,数据给空就行
💻 Link to minimal reproduction
https://g2plot.antv.vision/zh/examples/case/statistical-scenario#trend-funnel
📷 Step to reproduce
🏞 Expected result
🚑 Any additional [like screenshots]
The text was updated successfully, but these errors were encountered: