We have a chart setup like in the Custom Overview Control example. The RenderableSeries property of both charts is bound to the same ObservableCollection of IRenderableSeries. So if I change a property of the series like the thickness or point marker the change is visible in both charts accordingly.
Is there an easy way to accomplish that the series is drawn only with default thickness and without a point marker in the overview chart but with a point geometry and thickness in the main chart ?
I was facing the same task – and found this is not possible for obvious reason:
you are accessing the same object so all changes are reflected in both charts.
I had another problem in addition to this, all my data series have different axis ranges, which makes it even more tedious.
What you can do is binding the same data series to multiple IRenderableSeries and attach this collection to overview control.
At least this is my solution to this task…
Maybe somebody can suggest a better approach..
Martin is right, if you bind to the same collection of IRenderableSeries then you will have one RenderableSeries with two chart parents – which is invalid and won’t work. This is because Renderableseries are framework elements and must have a single parent.
On the other hand, if you use our SeriesBinding MVVM API then you can bind to the same collection of IRenderableSeriesViewModel as SciChart instantiates RenderableSeries for each viewmodel and binds to them. Thus saving you a lot of work (one declaration of series and data).
Let me know if this helps,
Please login first to submit.