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?
- Volodymyr Stoyanovskyy asked 3 years ago
- last edited 3 years ago
- 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
- Reported bug https://abtsoftware.myjetbrains.com/youtrack/issue/SCJS-1163
- 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 login to post comments
Please login first to submit.