Pre loader

MVVM Multiple Axis Example

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

Is there an example of how to implement MVVM with SciChart having multiple axis and multiple series on each axis?

Thank you.

  • You must to post comments
1
0

Please also see these related threads which demonstrate two methods of dynamically creating and controlling Axis in an MVVM Application:

Best regards,
Andrew

  • You must to post comments
0
0

Hi there,

It depends on what exactly you want to achieve. For example, if you are going to add axes dynamically, you need to bind YAxes collection to VM. To have multiple series on each axis, you should set corrsponding YAxisId property for each of these renderable series. Please, find the attached project below which demonstrates how to implement this approach.

Also, could you provide more info about what are you trying to achieve? We’ll try to help you more if you provide us with more detailed explanations.

Please, don’t hesitate to ask if you have any questions!

Best regards,
Yuriy

Attachments
  • mitch_gaby
    Thank you for the example. I will take a look at it. All the axis (X and multiple Y axis) and the series are set dynamicaly from the viewmodel. Each Y axis can have multiple series.
  • 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