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!
- Arjun Sivaprasadam asked 1 year ago
-
Hi Arjun, Thank you for reporting this. Could you please also share a small sample project showing your implementation for investigation on our side? You can also submit a support ticket here if you do not wish to share the code in public: https://support.scichart.com/index.php?/Tickets/Submit Thanks in advance, Lex
-
Please find the link to the ticket here… https://support.scichart.com/index.php?/Tickets/Submit/ConfirmationMessage/MCV-420-38979/unoh29hyrepl/0
- You must login to post comments
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
- Andrew Burnett-Thompson answered 1 year ago
- You must login to post comments
Hello Dr. Andrew,
The second Github example worked for me.
(github.com/ABTSoftware/SciChart.Wpf.Examples … Sandbox/CustomerExamples/CustomSeriesMvvm)
Thanks!
- Arjun Sivaprasadam answered 1 year ago
- You must login to post comments
Please login first to submit.