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.
My MVVM application can display more than 300 FastLineRenderableSeries on a SciChartSurface. SciChart handles the data and redisplays quite well. Thank you!
My users may mouse click on a series and quickly see the SelectedSeriesStyle change. The application needs to access the SeriesName of the SelectedSeries in the ViewModel for updates to other items in the ViewModel.
I read the topic/posts tagged SelectionSeriesModifier MVVM and the SeriesSource API. My attempts to utilize the CollectionChanged event of SelectedRenderableSeries (not in code-behind) have not had any success. It seems that I should do a OneWayToSource binding from SelectedRenderableSeries to an ObservableCollection<IChartSeriesViewModel> in the ViewModel. I would then like to use an MVVM Light EventToCommand bound to the CollectionChanged event.
Can you provide a demo or workaround on how to actually make this work?
Please, try subscribing to the IRenderableSeries.SelectionChanged event when you create IChartSeriesViewModels for SeriesSource. It is fired every time series gets selected, and the series can be accessed via the sender param.
Please, let us know if this way is convenient in your case.
Please login first to submit.