Hello,
I have a Blazor WASM app running Scichart JS. In attempting to get any of the filters working listed in the Filters API docs I am unable to build my application and get thrown an error.
As listed in Moving Average Filter Docs I import the XyMovingAverageFilter:
import { XyMovingAverageFilter } from ‘scichart/Charting/Model/Filters/XyMovingAverageFilter’;
Run npm install and build the application and I get the error:
Module not found: Error: Can’t resolve ‘scichart/Charting/Model/Filters/XyMovingAverageFilter’ in …
So far I have not run into any issues getting any of the Scichart JS APIs working in this manner.
- Leland asked 2 years ago
- You must login to post comments
Hi Leland
Check your package.json. Which version of SciChart is installed? You will need v2 or later to use the Filters API.
Ensure that the latest version is installed and try again. If you’re still stuck, send us a code sample and we will do our best to help
Best regards
Andrew
- Andrew Burnett-Thompson answered 2 years ago
- You must login to post comments
Hello, thank you for the help. Upon updating to version 2.2.2351 I was able to import this as expected.
- Leland answered 2 years ago
- last edited 2 years ago
- You must login to post comments
Please login first to submit.