SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components
Please use the forums below to ask questions about SciChart. Take a moment to read our Question asking guidelines on how to ask a good question and our support policy. We also have a tag=SciChart on Stackoverflow.com where you can earn rep for your questions!
Please note: SciChart team will only answer questions from customers with active support subscriptions. Expired support questions will be ignored. If your support status shows incorrectly, contact us and we will be glad to help.
W don’t have a code-behind only examples for adding/removing chart panels. The best example we have is the Create Multi Pane Stock Charts example in our examples suite, which uses MVVM.
We would recommend MVVM as this will make the process of managing the chart panels far easier. The SciChartGroup inherits the WPF ItemsControl, which requires ItemTemplates (e.g. control templates), and setting these in XAML is far easier than in code.
MVVM would be tough at this point and I may have been asking for the wrong thing. I need to display multiple realtime charts and need to be able to add and subtract them similar to a list box but if there is only one chart displayed I want it to take up the entire area. Are panels the right way to go or should I just be making multiple chart surfaces and add them to grid row or something like that.
This leads me to another question about support which is we are interested in the SCICHART WPF SOURCE package as we think Direct X would be useful on slower machines. Are we going to be able to get support for doing things the hard way in the code behind?
Hi Brian, sounds like what you need is the WPF Grid control then. All you need to do is manipulate the Grid.Children collection, and set Grid.Row on new items that you add. You will also need to set Grid.ColumnDefinitions programmatically. For an example of this please see http://deepak-sharma.net/2013/02/01/how-to-add-rows-and-columns-to-a-wpf-grid-programmatically
Regarding your second question, it really depends what you ask of us! We will of course point you in the right direction, but if you ask us how to create a Tooltip Template in code-behind, we are more likely to refer to an example on the web of how to do the generic concept (of code behind templates) than provide a custom example. e.g. see our FAQs here https://www.scichart.com/questions/question/how-to-set-style-setter-properties-in-code-behind where we’ve done just this.
Finally, our tech-support does come pretty highly rated. Please see https://www.scichart.com/scichart-wpf-chart-the-value-of-priority-support for some testimonials. We have all kinds of users, those that use MVVM, those that don’t. We of course recommend that you do!
Thanks. Yes, I agree it looks like a WPF Grid would do what I need it to do. I guess I was just wondering if panes were already setup to do something similar as all the charts will be displaying the same time range.
As for the support I completely understand. I wouldn’t expect you to to answer general questions about WPF that I can look up but like you said a pointer in the right direction would be appreciated. Looks like you do have great support and that’s really important for us.
Please login first to submit.