Pre loader

Creating a CustomRenderableSereisViewModel - Setting Properties

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

To whom this may concern:

I’d like to refer to the “Spline Scatter Line Chart” example in the SciChart Examples package. If I were to make this a CustomRenderableSeriesViewModel that I can set in a ViewModel class, how would I go about doing that?

I am using SciChart v4, and here’s what I know so far:

  1. CustomRenderableSeriesViewModel : BaseRenderableSeriesViewModel
  2. ViewType = typeof(CustomRenderableSeries)

My code so far is:

public class CustomRenderableSeriesViewModel : BaseRenderableSeriesViewModel
{
    public override Type ViewType => typeof(CustomRenderableSeries);
}

How would I go about setting the IsSplineEnabled property of the CustomRenderableSeries through the CustomRenderableSeriesViewModel class?

FYI: I have looked here and the Worked Example – CustomRenderableSeries in MVVM link goes to the SciChart v5 User manual.
Additionally, this is a duplicate of this issue on Stack Overflow (since I thought you were still fielding questions on there). Feel free to answer on either or both.

Can you please advise?

Version
4
  • You must to post comments
0
0

Hi Ari,

The documentation you found Worked Example – CustomRenderableSeries in MVVM is a complete example of how to do this in SciChart v5.

I’m afraid we are no longer supporting the SeriesSource MVVM API from SciChart v4 which has been deprecated.

Best regards,
Andrew

  • Ari Sagiv
    Hi, Andrew — Thank you for your response. I understand if I’ll need to upgrade to SciChart v5, but in case I’m not allowed to, is there any advice you can offer? Thanks and best regards!
  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.