Make piechart template be smart about whitespace.

Auditors: alpert