How to show small values in Flot Pie chart

徘徊边缘 提交于 2019-12-10 22:45:56

问题


I have simple data: [{"label":"Test 1","data":1332},{"label":"Test 2","data":56187},{"label":"Test 3","data":2},{"label":"Test 4","data":2},{"label":"Test 5","data":42946},{"label":"Test 6","data":1}] and when i trying to show it in the pie chart i get only only Test 1, Test 2, Test 5.

How to show other values?

P.S. With the old flash chart i had something like this


回答1:


Unfortunately you can't; breaking out labels to series that are too small to see otherwise isn't something that Flot's pie plugin currently supports.

You might suggest this as an enhancement on the Flot issue tracker.



来源:https://stackoverflow.com/questions/13947521/how-to-show-small-values-in-flot-pie-chart

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!