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


I want to create a View with two graphs, where the two graphs provide an overview. By clicking (acitvating) one of it, it “jumps” into the main view and can than be zoomed get some tooltips. I found out, that the Dashboard examples provide me the solution, but as I am relatively at the beginning with WPF, they are a bit to complex for me. I also have the problem that I cannot Export a running solution. The *.sln is missing.

Maybe anyone can provide me an simple example, the issue is not to look good, just having an idea would be nice. Notice: I (hopefully) got, that the graphs are provided in a ListBox which then is binded, but everything behind this is not clear to me.

Thanks for help!

  • You must to post comments

Hi Berger,

I think you need to consider how to solve this problem with any WPF UserControl (e.g. consider a Rectangle, or Border) before using a chart. There’s a lot of concepts you’ll need to have right before introducing the chart. Once you have these done, the chart part should be easy đŸ™‚

What you need is called a Master details pattern. This can be done in WPF using MVVM. One easy looking example is this one I found from StackOverflow.

On one part you need a ListBox which contains a list of Charts (or, any control). This is called the Master. On click of the ListBox you need to display the selected Control in a Details view. When you click the item in the ListBox, the selected item should be displayed in the Details view.

Once you solve that problem using MVVM and simple Rectangles let me know and we can move on to charts đŸ™‚

Best regards,

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.