I am playing around the examples and noticed that SeriesSelectionModifier didn’t work for the Custom Overview. When selecting the chart, sometimes a random series in the bottom overview got selected instead. Also, anyone knows whether the Custom Overview would work in the multi Y axes situation?
Thanks.
Ning
- Ning Qiang asked 8 years ago
- You must login to post comments
Andrew, your suggestion works. Looking forward for the v4. In the meantime, I think I will get a copy of v3.x to start. Thanks for the great support and excellent library.
- Ning Qiang answered 8 years ago
-
Super, great!
- You must login to post comments
Andrew, thanks for the quick reply. The problem is that I cannot select the series in the main chart. When I click the main chart, looks like the overview chart got the click event instead. I will try to separate them and see whether it would be better. thanks.
- Ning Qiang answered 8 years ago
-
Hi Ning, as I said, this is because the RenderableSeries instances are the same instances in both charts. Have a look at the article at http://support.scichart.com/index.php?/Knowledgebase/Article/View/17258/43/creating-a-custom-scichartoverview-with-many-series-using-the-scrollbar-api We are using the SeriesSource API. In v3.x, the SeriesSource MVVM API has a bug where if you apply the source to multiple charts, the same instances of RenderableSeries are created on both charts. I assure you, the way to solve this is to (a) not use SeriesSource or (b) do use SeriesSource but don't bind to the same collection on more than one chart. In v4.x of SciChart our MVVM API will be changing and this issue will no longer occur. Sorry about the inconvenience!
- You must login to post comments
Hi Ning,
It’s unintended, but in our Custom Overview example, the RenderableSeries are shared between both Chart surfaces (the main chart, and the chart behind the overview).
This is why when you select a series on the main chart, and a series on the overview gets selected.
I would suggest separating the RenderableSeries so that a RenderableSeries exists on only one chart, then the selection modifier should work as expected.
Let me know if this helps,
Andrew
- Andrew Burnett-Thompson answered 8 years ago
- You must login to post comments
Please login first to submit.