Good day,
I am evaluating the use of scichart.js as a charting tool for our web dashboard in an offline environment. As a way of testing, I am currently trying to deploy the build of demo-create-react-app from the SDK on IIS. The build works if deployed using serve -s build but I get this error when I try to deploy the build on IIS.
I would also like to confirm if Scichart.js can work in an offline environment since I saw in this forum post that SciChart gets the .wasm and .data files from the CDN.
- Yohann Gabrielle Ticzon asked 2 years ago
- last edited 2 years ago
- You must login to post comments
Hi Yohann,
1. Make sure that wasm and data files are served by IIS. You can check it by entering file location into the browser URL (checkout the screenshot). You might need to set up IIS to serve WebAssembly files and to enable additional MIME types, like here https://platform.uno/docs/articles/how-to-host-a-webassembly-app.html
2. Check in Chrome dev tools that wasm and data file location is correct. If you need use this API to set the correct location.
// LOAD LOCALLY FROM A DIFFERENT URL
SciChartSurface.configure({
wasmUrl: "/wasm/path/scichart2d.wasm",
dataUrl: "/data/path/scichart2d.data"
});
Best regards,
Michael Klishevich
- Michael Klishevich answered 2 years ago
- You must login to post comments
Please login first to submit.