Javascript 如何使用Higcharts插件在饼图中显示百分比和计数值?
我试着用下面的方法用PHP的Highchart插件绘制饼图Javascript 如何使用Higcharts插件在饼图中显示百分比和计数值?,javascript,php,charts,highcharts,Javascript,Php,Charts,Highcharts,我试着用下面的方法用PHP的Highchart插件绘制饼图 在上面的饼图中,我想在饼图中显示百分比和计数2,如A:67.0%(2)和B:33.0%(1)highcharts饼图有一个选项,用于为数据标签设置您自己的格式化程序。看 在其中,您可以访问: this.percentage Stacked series and pies only. The point's percentage of the total. this.point The point object. Th
在上面的饼图中,我想在饼图中显示百分比和计数2,如A:67.0%(2)和B:33.0%(1)highcharts饼图有一个选项,用于为数据标签设置您自己的格式化程序。看 在其中,您可以访问:
this.percentage Stacked series and pies only. The point's percentage of the total.
this.point The point object. The point name, if defined, is available through this.point.name.
this.series: The series object. The series name is available through this. series.name.
this.total Stacked series only. The total value at this point's x value.
this.x: The x value.
this.y: The y value.