Closes #2205. Fixes issue with malformed chart titles with pie charts.
Merge pull request #2217 from stormpython/fix/#2205

Fixes issue with malformed chart titles with pie charts.