@mansourqalen,
The error was being thrown as the set method was being used on title without defining it in chart options.
Please take a look at this updated jsfiddle. Also, please take a look at set property for more information.
___________
Indranil Deo,
Team CanvasJS