Fix titles for SurfChart

Titles are now dynamic based on the selected period and period type.