Posted by Julia Skorobogata on 14 July 2021 11:14 AM
We are pleased to announce that the SciChart iOS, macOS, and Android v4.3, has now 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 v4.3
Improved axis label formatting used in trading charts on both Android and iOS:
This feature is extremely popular in financial and trading applications. When zooming the chart you can make the labels on x-axis automatically scale. This means that at a particular zoom level you can be showing years, but zooming in closer it will transform into months, dates, and so on.
Example: zooming changes from years to years and months labels on X-axis:
Example: zooming changes from months to month and dates labels on X-axis:
This is what has been improved:
made trade chart label formatter more declarative with ability to select formats and provide quite a bit nicer output
formatters now obey locale while formatting labels
added separate DateFormatters for axis labels and for cursor labels, those are encapsulated in SCITradeChartAxisLabelFormatter
removed defaultTextFormatting for CategoryDateAxis
Stacked Series improvements for both Android and iOS platforms:
There has been a number of improvements and edge cases fixed that were reported by customers. One of the improvements allows having a proper legend for the stacked series chart, like in the example below.
Some other changes and improvements for stacked series include:
added `getYRange` implementation to fix Stacked Series range calculation issues (similar to `getXRange`)
fixed edge cases `SCILegendModifier` crashes with different Stacked Series combinations
added missing initialisers
fixed crash when there’s no visible series in `vertical collection` which is inside `horizontal collection`
fixed accumulation of vertically stacked series in different edge cases
consider only stacked series collection children as candidates for the legend, not the collection itself
Ability to modify an already existing SciChart theme
The functionality to amend the exciting SciChart theme was already in our Android version and is added to SciChart iOS library with the release of v 4.3. In the previous version of SciChart, the user had to copy the theme and then define all the keys, whether they have been changed from default ones or not. With this release, users can create themes “basedOn” parent SciChart already existing theme and override only the keys that need to be different.
Below you can see how we styled a chart using exciting SciChart Theme v4 Dark (on the left). We have changed line series and labels colors, also background color. MinorGridlines color is changed so they seem not visible at all, as well as axisBandColor is changed. This is a very easy way to give your chart the look and feel that your design requires!
Our team has been recently working on creating a financial charting component using SciChart iOS and SciChart Android. You can read about it in our blog post “Creating Native mobile Stock and Crypto Trading apps with SciChart – Preview“. Working on the iOS side we realized we can improve SciChart.framework consumption in the Swift world. Even though there is plenty of general knowledge about Objective-C to Swift and Swift to Objective-C interoperability we decided to go the extra mile and make improvements that are specific to SciChart iOS library.