如何在 highcharts 点中使用总数 属性

how to use the total property in highcharts point

能否在饼图中演示此 属性 的用例: http://api.highcharts.com/highcharts#Point.total 如何使用?

给你:http://jsfiddle.net/tu67e1ce/

    tooltip: {
        pointFormat: '{series.name}: <b>{point.percentage:.1f}%</b>, Total: {point.total}'
    },

将鼠标悬停在任何切片上,然后在工具提示中查看总值。您还可以在数据标签格式化程序等中使用该值。