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.
I am trying to use SciChartGroupPane and ChildPanes for my application, and
want to collapse a pane , so that the remaining space is filled with the remaining graphs.
I tried binding the Visibility property to the charts itemcontainer style, but it only partially helped.
I got all the panes collapsing except for the first one. I attached a sample project, where I try to collapse all panes but the last one.
I asked the question here
but got no answer since then. The project could probably not be uploaded beacuse of the size.
I uploaded it here:
Is this behaviour normal? Is it a bug? Please help.
This does not work for me. If I try binding the Visibility of the SciChartSurface to a IsFirstChartpane property in the pane, when I change the value, the pane only disappears, but the remaining charts does not resize, as i proposed here:
Thanks for your request. Yes this is the expected behavior. SciChartGroup is designed to always show the first pane and allow to hide/show all the other panes. The first IChildPane doesn’t get wrapped into SciChartGroupPane, so you cannot hide it like the other panes.
I would suggest binding Visibility of your SciChartSurface in the ItemTemplate to a property which indicates whether it is the main (first) item or not, and hide it if it is. As an example, you could take a look at the BaseChartPaneViewModel.IsFirstChartPane and its usage in the Multipane Stock Charts example.
Does this make sense?
Please login first to submit.