Fixed bug (Error while rendering mako template).:

chart.add_series just returns None.
I should str(chart) before this.