Posted by Nazar Rudnyk on 03 February 2022 01:28 PM
We are pleased to announce that the SciChart iOS, macOS, and Android v4.4, have been released! It includes a lot of improvements and bug fixes. It is recommended for all users of SciChart to update to the latest version! Please see more information below.
What is new in SciChart iOS/macOS/Android v4.4
In this minor release our team brings to you a bunch of cool stuff, including the following major improvements:
Heavily requested examples written in Kotlin (plus Kotlin DSL extensions as a bonus)
iOS simulator finally supports Metal via corresponding render surface
Brand new examples showcasing built-in Transformations API:
Animate data updates in “Animating Stacked Column Chart” – iOS & macOS and Android examples
SciChart Android examples brought to Kotlin
Kotlin language becomes more and more popular and developers start using it much more in their projects nowadays. Not surprising that we were receiving lots of requests about samples written using exactly in Kotlin and not Java. Hence we spent some time and not only implemented examples but also added some Kotlin DSL extensions for the SciChart library, and now our simple LineChart Example looks like below:
And that’s it. With such a concise Kotlin snippet, you get your line chart with pinch, zoom and pan gestures out of the box.
All of our examples are available in both – Java and Kotlin languages. Language can be switched by a simple tap in the application toolbar (try it out in our SciChart Android examples app), like so:
Moreover, all of the Kotlin DSLs are available in our public examples repository, so you can use those in your applications if you want.
Metal is finally available in the iOS simulator
This feature was requested very often. Some wanted just be able to test and debug applications directly on the host macOS machine, while others want to be able to automate screenshots while publishing to the AppStore. It doesn’t really matter what’s the real use-case, having Metal in a simulator is useful on its own, so we finally added Metal support for SciChart iOS which is running in a Simulator. It’s much more performant in comparison to OpenGL in simulator. It is super smooth for both – 2D and 3D charts – so we are glad it’s finally here:
Custom animation examples
Some of our customers would like to implement append data with animation instead of point just appearing on screen. Another would like to smoothly update existing data on a screen. Sometimes animations are very useful while visualising data. We do also receive requests about tricky custom animations. There were custom animations documentation available, but our underlying Transformations API is fairly vague and complex. So we added the following examples into our demo apps, to bring more light onto just mentioned APIs.