0
votes

Similar to this question, but for Google Pie Charts:

How can I remove the white lines between the slices on a Google Pie Chart:

enter image description here

On the image above, I want to remove the white space highlighted by the green arrow.

1
@AntoJurković yes! same question, same answer. I will edit the other question and its tags to allow it to show up more easily on the search query I used before asking. - Guillaume

1 Answers

6
votes

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:

enter image description here

After:

enter image description here

Fiddle with it: http://jsfiddle.net/PWc43/