@Manoj Mohan
Use of div resizing seems to break the static labels
var destCtx = $(‘#’ + destId)
.get(0)
.getContext(‘2d’);
The error is on line 53 of the fiddle.
Here is a fiddle that helps to replicate this error.
https://jsfiddle.net/c5stbx86/1/
What do you think?