Is there an example of how to implement MVVM with SciChart having multiple axis and multiple series on each axis?
Thank you.
- mitch_gaby asked 11 years ago
- You must login to post comments
Please also see these related threads which demonstrate two methods of dynamically creating and controlling Axis in an MVVM Application:
Best regards,
Andrew
- Andrew Burnett-Thompson answered 9 years ago
- You must login to post comments
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
- Yuriy Zadereckiy answered 11 years ago
-
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 login to post comments
Please login first to submit.