Pre loader

JavaScript Can't resolve import from Scichart filters

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

Answered
0
0

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.

Version
6.5.1.26063
  • You must to post comments
Best Answer
0
0

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

  • You must to post comments
0
0

Hello, thank you for the help. Upon updating to version 2.2.2351 I was able to import this as expected.

  • You must to post comments
Showing 2 results
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