SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, iOS Chart, Android Chart and JavaScript Chart Components

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.