JavaScriptException: ReferenceError: echarts is not defined

When running the samples "EChart for advanced & interactive charting", the system throws a JavaScriptException: ReferenceError: echarts is not defined. (Both Release 9.8.12 and Beta 9.9.3)

Comments

  • Right now this is download-on-demand. Do you have Internet connectivity?

  • @JoeAlbahari said:
    Right now this is download-on-demand. Do you have Internet connectivity?

    You're right, it's probably a network issue. I need to use a proxy; you could consider configuring a global proxy for LINQPad.

  • This is my current emergency strategy, a Windows batch file:

    @echo off
    set WEBVIEW2_ADDITIONAL_BROWSER_ARGUMENTS=--proxy-server=http://x.x.x.x:xxxx
    start "" "C:\Program Files\LINQPad9\LINQPad9.exe"

  • Earlier today I mocked up automatically starting WebView2 with proxy arguments. The difficulty is that if anything goes wrong, it kills all results rendering, not just ECharts and other CDN-sourced assets. This will require a lot more testing.

  • Try 9.9.5 and let me know whether this fixes the problem.

  • @JoeAlbahari said:
    Try 9.9.5 and let me know whether this fixes the problem.

    Wow, I can't wait to try it! Just updated to 9.9.5, and the proxy configuration in LINQPad's Results Browser is now working correctly. Thanks so much for your support!