Pre loader

.data and .wasm files from the CDN

Welcome to the SciChart Forums!

  • Please read our Question Asking Guidelines for how to format a good question
  • Some reputation is required to post answers. Get up-voted to avoid the spam filter!
  • We welcome community answers and upvotes. Every Q&A improves SciChart for everyone

WPF Forums | JavaScript Forums | Android Forums | iOS Forums

1
0

Hi. I’m trying to add 3DChart to my vue project. And I have a question about the configuration. Can I download .data and .wasm files from the CDN.

For 2D charts , I’ve used recomendation of your release v.2.2:
SciChartSurface.useWasmFromCDN()
It works for me. How I can use CDN for SciChart3DSurface?

Version
2.2.2378
  • Andrew Burnett-Thompson
    Good morning, this appears to be missing from the API, we’re going to add this very soon. In the meantime, use SciChart3DSurface.configure() method to pass in the data & wasm URLs to CDN
  • Andrew Burnett-Thompson
  • Volodymyr Stoyanovskyy
    Hi, I’ve instaled v2.2.2389 and try use method cinfigure(): SciChart3DSurface.configure({ dataUrl: ‘https://cdn.jsdelivr.net/npm/[email protected]/_wasm/scichart3d.data’, wasmUrl: ‘https://cdn.jsdelivr.net/npm/[email protected]/_wasm/scichart3d.wasm’ }) But this generates errors when creating the object – const { sciChart3DSurface, wasmContext } = await SciChart3DSurface.create(‘scichart-root’) Errors: createMaster3d.js:99 Could not load SciChart WebAssembly module. Check your build process and ensure that your scichart2d.wasm, scichart2d.data and scichart2d.js files are from the same version Chart3DTile.vue:205 Uncaught (in promise) Could not load SciChart WebAssembly module. Check your build process and ensure that your scichart2d.wasm, scichart2d.data and scichart2d.js files are from the same version
  • You must to post comments
1
0

Hello, try using v. 2.2.2393

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.

Try SciChart Today

Start a trial and discover why we are the choice
of demanding developers worldwide

Start TrialCase Studies