@acro_prop,
We are unable to find any issue when the chart related code is executed separately either in jsfiddle or in html file. Can you kindly check the plugins that are being used in your application, which may be causing the issue?
—
Vishwas R
Team CanvasJS