Pre loader

SeriesAnimation

Welcome to the SciChart Forums!

  • Please read our Question Asking Guidelines for how to format a good question
  • Some reputation is required to post answers. Get up-voted to avoid the spam filter!
  • We welcome community answers and upvotes. Every Q&A improves SciChart for everyone

WPF Forums | JavaScript Forums | Android Forums | iOS Forums

0
0

I’m trying to find some more info on SeriesAnimation. I’m implementing a ScaleAnimation that works when the chart first loads but I’d like for the series to animate each time the series is updated as well.

Is there a good way to do this?

Here’s my XAML for the ScaleAnimation that animates once when the chart loads…

<sci:FastImpulseRenderableSeries.SeriesAnimation>
                    <sci:ScaleAnimation AnimationDelay="0:0:1" Duration="0:0:1" />
 </sci:FastImpulseRenderableSeries.SeriesAnimation>
Version
6.0.2.13028
  • Andrew Burnett-Thompson
    Hi Greg, whats the effect you’re trying to achieve? As each point is added, sort of animate to the new point location?
  • Greg Knox
    Hey Andrew, That is it. So when the value changes from X to Y there’s a quick transition between there. Kind of a side note, but is there a way to bind data to a DataSeries in XAML? I’m able to declare a DataSeries tab but I’m not sure what to populate it with. For example (using square brackets so it doesn’t get hidden): [sci:FastImpulseRenderableSeries.DataSeries] [!– Not sure what goes here –] [/sci:FastImpulseRenderableSeries.DataSeries]
  • Andrew Burnett-Thompson
    Let me check on the Animation. For DataSeries binding – open a separate question? (otherwise things get lost)
  • Andrew Burnett-Thompson
    Hi Greg, Yuriy on our team is looking into a solution for you. Its not possible out of the box but might be possible with a custom animation. Best regards, Andrew
  • You must to post comments
1
0

Hi Greg,

I’ve created small example of how you can achieve described animation behavior using existing API and custom transformation logic for PointSeries.

Let us know if these example was useful to you.

Best regards,
Taras

  • You must to post comments
0
0

Hello, Andrew So that’s it. There is a brief transition when the value switches from X to Y. As a sort of unrelated question, is there a method to connect data to a DataSeries in XAML?

  • Andrew Burnett-Thompson
    Hi there, you can declare a RenderableSeries in XAML and then bind to a DataSeries in the ViewModel or set a DataSeries in code-behind. There is no way to create a DataSeries in XAML, however you could if you wanted to, use converters or markup extensions to create DataSeries. I suggest opening a new question if you need help.
  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.

Try SciChart Today

Start a trial and discover why we are the choice
of demanding developers worldwide

Start TrialCase Studies