Fix renderTimeSeries example