Similar to this question, but for Google Pie Charts:
How can I remove the white lines between the slices on a Google Pie Chart:
On the image above, I want to remove the white space highlighted by the green arrow.
Similar to this question, but for Google Pie Charts:
How can I remove the white lines between the slices on a Google Pie Chart:
On the image above, I want to remove the white space highlighted by the green arrow.
Use the configuration option pieSliceBorderColor
with the value transparent
(see documentation here).
new google.visualization.PieChart(document.getElementById('visualization')).
draw(data, {
pieSliceBorderColor : "transparent", // Add this line
title : "So, how was your day?"
}
);
Before:
After:
Fiddle with it: http://jsfiddle.net/PWc43/