The problem I faced when trying to initialize the chart is if I declare the url of the external script file as below:
The chart is not loaded and there are 2 error messages displayed on the console:
Uncaught Reference error: dhtmlx is not defined.
Uncaught Reference error: dhtmlxChart is not defined.
But the chart is displayed when external script file is declared as below:
I would prefer using dhtmlxchrt.js. Can anyone tell me the reason and help with this issue?