SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, iOS Chart, Android Chart and JavaScript Chart Components
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.
In this minor release our team brings to you a bunch of cool stuff, including the following major improvements:
Kotlin
(plus Kotlin DSL
extensions as a bonus)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:
override fun initExample(surface: SciChartSurface) {
val fourierSeries = DataManager.getInstance().getFourierSeries(1.0, 0.1, 5000)
surface.suspendUpdates {
xAxes { numericAxis { visibleRange = DoubleRange(1.1, 2.7) } }
yAxes { numericAxis { growBy = DoubleRange(0.1, 0.1) } }
renderableSeries {
fastLineRenderableSeries {
dataSeries = XyDataSeries<double, double="">().apply {
append(fourierSeries.xValues, fourierSeries.yValues)
}
strokeStyle = SolidPenStyle(0xFF279B27)
sweepAnimation { interpolator = DecelerateInterpolator() }
}
}
chartModifiers { defaultModifiers() }
}
}
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.
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:
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.
Animating Line Chart – iOS & macOS and Android examples
Animate data updates in “Animating Stacked Column Chart” – iOS & macOS and Android examples
Source code for our examples are as usual available in our GitHub repositories:
Documentation about how to get the above result using Transformations APIs are available via the following links:
SciChart Android:
NullPointerException
in SeriesSelectionModifier
TooltipModifier3D
stopped workingRenderSurface
when rendering linesISmartList
, because IDataDistributionProvider
‘s flags should be outside itCalendarUnit
based label formatter for DateAxis
PinchZoomModifier
, RubberBandXyZoomModifier
and ZoomPanModifier
to allow overriding for what exact X/YAxes the modifier should be appliedZoomPanModifier
which shouldn’t pan chart outside modifier surfaceNiceDoubleScale
calculations to delay overflow of double which results Infinity results; removed generic param from delta calculator because it isn’t actually usedSciChart iOS / macOS:
UIColor
category methods are no longer conflicts with Dynotrace
librarystrong
attributesSCILineArrowAnnotation
in examplesCalendarUnit
based label formatter for SCIDateAxis
dSYM
and BCSymbolMap
into *.xcframework
setVisibleRangeAnimator
SCIPinchZoomModifier
, SCIRubberBandXyZoomModifier
and SCIZoomPanModifier
to allow overriding for what exact X/YAxes the modifier should be applieddrawNaNAs
property that didn’t worked for SCIFastMountainRenderableSeries
SciChart Xamarin.iOS and Xamarin.Android:
NullAllowed
attributes and bindingsSCIDefaultSeriesValueMarker
SCISeriesValueModifier
and SCIThemeManager
SciChart iOS & macOS
.dmg
installerSciChart Android
SciChart Xamarin.iOS and Xamarin.Android
You can always get our SDKs for iOS, macOS and Android from our downloads pages:
Please Note: you will need to download the Cross-Platform Licensing Wizard separately, required to activate and license SciChart Mobile SDK v3 and higher.
We welcome your feedback! Please let us know what you think about our new features, examples and improvements. You can contact our friendly, helpful team at any time!
If your support has expired, Please contact sales asap to get a custom quote.
Best regards,
Nazar
[SciChart Team]