Pre loader

How can I implment a custom IRenderableSeriesViewModel ?

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

1
0

Hello Scichart Team,

Can you guys provide me with some guidance to implement a custom IRenderableSeriesViewModel implementation that is supported in MVVM binding in Scichartsurface? Specifically, I’m looking to create a chart series that can be bound to my ViewModel and support custom styling and data handling.

I have tried following the tutorial found here…

Worked Example – CustomRenderableSeries in MVVM
https://www.scichart.com/documentation/win/current/webframe.html#Worked%20Example%20-%20CustomRenderableSeries%20in%20MVVM.html

I was getting a cast error from scicharts. I have attached the picture showing the detailed error.
Concerning the XAML code I have tried both the normal Binding keyword and s:SeriesBinding keyword to the RenderableSeries in the SciChartSurface.

Let me know how to go about this!

Version
7.0.1.27055
Images
  • You must to post comments
0
0

Hi Arjun

As well as the documentation on Custom RenderableSeriesViewModels we have this code example here on github:

github.com/ABTSoftware/SciChart.Wpf.Examples … Sandbox/CustomerExamples/CustomSeriesMvvm

I just downloaded & ran this, seems to work with SciChart WPF 7.0.1. Can you confirm?

Best regards
Andrew

  • You must to post comments
0
0

Hello Dr. Andrew,

The second Github example worked for me.
(github.com/ABTSoftware/SciChart.Wpf.Examples … Sandbox/CustomerExamples/CustomSeriesMvvm)

Thanks!

  • 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