Note that there are some explanatory texts on larger screens.

plurals
  1. POPie chart: image exporting cutting off labels
    primarykey
    data
    text
    <p>I'm using Highcharts 3 pie chart and when I do export to image the generated chart are losing some data labels. How can I solve (workaround) this?</p> <p><strong>ps:</strong> Using highcharts server: export.hightcarts.com</p> <p>Regards</p> <p><strong>[update]</strong></p> <p>Small values are cut off on generated image png file. However is ok in the print preview.</p> <pre><code>new Highcharts.Chart({ chart: { renderTo: 'chart', type: 'pie' }, title: { text: 'My Chart title' }, plotOptions: { pie: { showInLegend: true, dataLabels: { enabled: true, formatter: function() { return '&lt;b&gt;' + this.point.name + '&lt;/b&gt;: ' + Math.round(this.point.total * this.point.percentage / 100); } } } }, series: [{ type: 'pie', name: 'Series name', data: [ ["Lorem", 88], ["Lorem ipsum", 4], ["Praesent nibh nulla", 12], ["Lorem ipsum dolor sit amet", 66], ["Praesent fringilla suscipit molestie", 30], ["Donec at lectus at nulla viverra lobortis", 11], ["Class aptent taciti sociosqu ad litora", 87], ["Mauris vulputate sem id arcu volutpat fermentum", 149], ["Vestibulum faucibus lectus", 113], ["Pellentesque habitant morbi tristique", 7], ["Etiam lacinia mi suscipit", 92], ["Proin semper risus in lacus semper", 9], ["Fusce id faucibus massa", 99], ["Suspendisse", 4], ["Quisque quis lectus et turpis laoreet", 101] ] }], exporting: { enabled: true } }); </code></pre> <p><strong>jsFiddle</strong>: <a href="http://jsfiddle.net/6afyH/1/" rel="nofollow">http://jsfiddle.net/6afyH/1/</a></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload