Time series chart code added but not running