Unable to get 3D effect when using getImageURI() from Google pie chart with only one value

Viewed 48

I have a php application application with dynamic google charts display. I put 'is3D': true in chart configuration to put 3d effect, and it works perfectly.

When i try to convert the charts to img to export it after to PDF with dompdf : all_chart_divs.innerHTML = '<img src="'+allchart.getImageURI() +'">';, I can't see the 3D effect in the image when there is only one value in the chart. But it works fine when the chart contains more than one value.

Here the chart before converting it to image: before getimageuri

And after convert it to img, I have that: after getimageuri

0 Answers
Related