SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components

Welcome to the SciChart Community Forums!

Please use the forums below to ask questions about SciChart. Take a moment to read our Question asking guidelines on how to ask a good question and our support policy. We also have a tag=SciChart on Stackoverflow.com where you can earn rep for your questions!

Please note: SciChart team will only answer questions from customers with active support subscriptions. Expired support questions will be ignored. If your support status shows incorrectly, contact us and we will be glad to help.

Answered
0
0

Hi,

I’m trying to make a spark that follows the real time graph’s last added position. I want it to work as a particle system, fade out on the left as it goes to the right. Is there existing support for such a thing? Is it possible to do it with a shader? What I’m trying to do is better illustrated here, https://www.youtube.com/watch?v=7N4viIanngg

Thanks

  • You must to post comments
Best Answer
0
0

We actually did something like this. Not quite as cool as your video though 🙂

Take a look at our article How to Create a Sweeping ECG Chart.

Here, we use an annotation with a WPF BlurEffect (uses shaders) to trace the latest point in the plot. Have a play with that, let me know what you think!

If you wanted to make it closer to the video, you’d need to create a shader effect and attach to the SciChartSurface.RenderSurface. I’ve never created one of these before, but it can be done.

Best regards,
Andrew

  • kewur
    That looks nice, I think that I might be able to use the Annotations like a particle system, basically generate an annotation at the new point and increase transparency over X amount of time, destroy afterwards. I think I'll be able to use this project.Thanks
  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.