@nitin_nn,
For security reasons, browsers restrict cross-origin requests. JSONP allows you to sidestep the cross-origin requests. Please refer JSONP for more info.
You can also take a look at this jsFiddle for an example on JSONP.
—
Vishwas R
Team CanvasJS