ankitagrahari edited a comment on issue #11573: Echarts is not defined in jsp file URL: https://github.com/apache/incubator-echarts/issues/11573#issuecomment-552089904 I double checked and the call is proper, first the inclusion of echarts library via script tag and then the call to echarts is happening. Even I am not sure, why this is happening and that's why raised this ticket. The issue I am trying to point out is, that browser loads the echarts.min.js file before there is a call to echarts.init() method. Then why it is throwing error on echarts variable not defined. Do I have explicitly define the variable echarts ? and if yes, how to do so ? Kindly let me know if there is anything else to look.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
