在饼图项目中显示高分辨率内的百分比 [英] Displaying percentage inside pie item for highcharts
本文介绍了在饼图项目中显示高分辨率内的百分比的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想知道是否有可能为高图表显示实际饼图项目中每个饼图项的百分比?我的意思是这样的例子:
I am trying to figure out if it is possible to display the percentage for each pie item inside the actual pie item for highcharts? Example of what I mean is something like this:
https://developers.google.com/chart/interactive/docs/gallery/piechart
推荐答案
你可能想看看@ dataLabels。格式化器
。 this.percentage
选项可用于馅饼
You may want to look @ dataLabels.formatter
. this.percentage
option is available for pie
另外 dataLabels.distance
可以设置为饼图内dataLabels的负值。
Also dataLabels.distance
can be set to a negative value for dataLabels inside the pie.
这篇关于在饼图项目中显示高分辨率内的百分比的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文