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

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.