Here's a workaround that may fix it, try using:
String charttitle; (comment: not sure if this is how you declare a string, give it a whirl) charttitle = "Population (24 hours starting "; charttitle.Append(begin.ToString()); charttitle.Append(")") chart.Title = charttitle
to replace:
chart.Title = "Population (24 hours starting " + begin.ToString() + ")";
It may not work, but it cant make it any worse. |