Thanks Suyash. Your solution is working very well.
Thank Vishwas, for your quick reply. But I am passing the values dynamically to js function. Then array is not getting created. Please look into given below example.
http://jsfiddle.net/f0xetdmh/10/
Waiting for your reply.
Thanks.
Dear Suyash, Thanks for your prompt reply. Your both solution helped me to sort out my problem. Keep it up Canvasjs team.
Regards, Ashish Potdar.