-
Thanks for a fast reply! Of course! Here is an example I captured from app with SciChart: https://www.youtube.com/watch?v=0N6yArpppdw Here is an example of expected behavior: https://www.youtube.com/watch?v=3qXE9SBMP5k As you can see on the second video, new point is adding with animation from last (x0, y0) to current (x1, y1). Is it possible to implement it using SciChart?
-
Nice! That makes it a lot clearer! Well I’m pretty sure we don’t support this out of the box in v1.0.0, but I will ask the team what we can do in terms of a workaround (or future feature request).
-
Thanks! Looking forward to your reply.
-
We’re discussing now in the team. Maybe inheriting our DataSeries would do it? E.g. AppendAnimated(x,y, duration). Stores a value, calculates interpolation points, then calls base DataSeries.Append(). At animation end you could remove the interpolated points (to save memory) and leave just the final X,Y. More to come …
-
I’ll try. Thanks!
-
I am facing same problem, any solution?
-
Hi, there. Unfortunately, there’s no built-in way of doing just that. You might want to open a feature request, so we prioritize this and potentially implement it in the future. The closest thing we have is animating line chart (each appended point) implemented in custom animating series android example: – example – https://www.scichart.com/example/android-realtime-animating-line-chart/ – source code – https://github.com/ABTSoftware/SciChart.Android.Examples/blob/SciChart_v4_Release/Examples/app/src/main/java/com/scichart/examples/fragments/examples2d/createCustomCharts/AnimatingLineChartFragment.kt So I suggest you investigate the code and implement something similar on the iOS side. Hope that helps.
-
I’d suggest just writing a small helper function that accepts an X,Y point and calls SCIXyDataSeries.append() and update() to get the desired result.
-
@Andrew Burnett-Thompson How will your suggestion will help me to achieve animation for new point in iOS?
-
@Andrew Burnett-Thompson Do you have any sample example for that?
-
Hi there, just posted an example on this page. Take a look! https://www.scichart.com/questions/ios/animated-inserting-of-a-new-point