Posted by Andrew Burnett-Thompson on 24 April 2023 11:01 PM
It’s only been two months since our last major release, but we have another one queued up for SciChart.js! Today we are pleased to announce SciChart.js v3.1.333 has been released. Find out what’s new in the release note below. This release is a drop-in replacement and is backward compatible to users of SciChart.js version 3. Users of SciChart.js v2 may find minor breaking changes or changes in behaviour. We suggest upgrading & testing, giving us your feedback before major production releases.
What’s New in SciChart.js v3.1?
Version 3.1 at a glance:
1/ “Just Works” (no license required) for sandbox sites
Earlier this year we blogged that many sandbox environments have been enabled for SciChart.js including Codepen.io, Codesandbox.io and JSFiddle.net. These allow you to try out or use SciChart.js in browser, share examples, bug reports, ideas, feedback and more. No license is required for the sandbox environments and SciChart.js “Just Works” with a watermark. This is a step toward Community licensing which we are also working on.
2/ Added global exports for npm, index.min.js
We’ve also added global exports for npm and an index.min.js for JS delivr CDN. That means two things.
Thus the imports are unified between npm and non-npm applications and greatly simplified. No more worrying about what the import is or searching the documentation to find an import path.
3/ Updated 60+ documentation pages to include Builder API and codepen embeds
A picture (or a codesample) paints a thousand words!
Check out some examples of the new and updated documentation pages below:
We plan to continue working through our documentation and adding more codepen embeds and updating examples & tutorials in future, providing a better experience for developers.
4/ Updated all demos to include contextual documentation and codesandbox links
If you head over to demo.scichart.com and click on any SciChart.js demo, you’ll now see a new toolbar at the top of the page.
5/ Added a ChartTitle property to SciChartSurface
Many of our examples at demo.scichart.com used Annotations to create a pseudo chart title. In SciChart.js v3.1 we’ve added a chart title property. All the demos have been updated to reflect this.
There is a specific Chart Title demo which you can find below.
Also documentation has been updated to show you how to customise a chart title.
6/ CustomChartModifier, CustomChartModifier3D type
7/ Performance Optimisations
Almost 100% Performance improvement for Big-Data Charting
Big Data Performance has been improved yet again by optimising two things:
We had some overly aggressive sanity checks in SciChart.js. Before, when appending data we were checking every single element of the array to check it was numeric! Now, we make the assumption that if you’re passing an array of numbers to dataSeries.appendRange() SciChart.js will sanity check the first element, but then assume all subsequent elements of the array are numbers. So don’t go passing an array of [1, 2, 3, “Apples”, “Bananas”] as that won’t work