Google Pie Chart: How to remove the white line between slices?

Like this question , but for Google Pie Charts:

How to remove white lines between slices in a Google Pie chart:

enter image description here

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

0
source share
1 answer

Use a configuration parameter pieSliceBorderColorwith a 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

Spell: http://jsfiddle.net/PWc43/

+3
source

All Articles