Highcharts server side export Pie With Data Labels (phantomjs) -


i trying export pie chart data labels. i'm using phantomjs server side export functionality. chart image correctly datalabels don't show up. sample data structure in web version adds data labels expected.

is there specific configuration requited data labels show up? i'm on highcharts 4.0.1

the json i'm sending on phantom server is:

{"infile":"{ legend: {enabled: false},chart: {borderwidth: 0},colors: ['#4572a7', '#aa4643', '#89a54e', '#80699b', '#3d96ae', '#db843d', '#92a8cd', '#a47d7c', '#b5ca92'],credits: {text:'cannlabs'},title: {text: 'potency results'},plotoptions: {pie: {datalabels: {enabled: true,color: 'black',format: '<b>{point.name}</b>: {point.percentage:.1f} %'}}},series: [{type: 'pie',name: 'potency results',data: [{name: 'cbd-v', y: 0.00},{name:'cbd-a',y: 0.00},{name:'cbg',y: 0.00},{name:'cbd',y: 0.01},{name:'thc-v',y: 0.00},{name:'cbn',y: 0.01},{name:'thc',y: 0.87},{name:'cbc',y: 0.02},{name:'thc-a',y: 0.00}]}]};"} 

this appears bug in 4.0.1 version of highcharts. upgraded master version of highcharts.js file , labels rendered correctly.


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

jsf - How to ajax update an item in the footer of a PrimeFaces dataTable? -

jquery - Keeping Kendo Datepicker in min/max range -