SciChart.js ships with ~60 JavaScript Chart Examples which you can browse, play with, view the source code and see related documentation. All of this is possible with the SciChart.js Examples Suite, which ships as part of the SciChart.js SDK
Demonstrates how use Linear Trend, Moving Average and Ratio Filters with filter chaining, using SciChart.js, High Performance JavaScript Charts
Ratio Filter divides the original dataseries by the divisor series. Moving Average and Linear Trend fitlers are then applied to the resulting ratio
Click 'Add Data' to see how the filters automatically recalculate when data changes
Moving Average and Linear Trend filters can be applied to any kind of data series, and you can pick which field to filter