SciChart.js
v^2.0.0-beta.2102

JavaScript Chart Examples

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

Realtime Percentage Change using Filter

Demonstrates how to use a ScaleOffsetFilter to convert data to a Percentage Change with realtime updates, using SciChart.js, High Performance JavaScript Charts

ScaleOffsetFilter multiples each data point by a scale factor and adds an offset. This can be used to convert data to a percentage change

The zero value for change is the visible start of the chart and data rescales as you pan. Click the Add Data button to see that data is automatically transformed when the original data is updated. A simple extention to the RenderableSeries allows us to show the original values for the transformed series in the rollover tooltip

Tips!

ScaleOffsetFilters are available for all DataSeries types, so you could do the same thing for a band or candlestick chart

2D Charts
Chart Legends
SciChart Ltd, 16 Beaufort Court, Admirals Way, Docklands, London, E14 9XL.