I’m trying to highlight the RenderableSeries when it’s selected instead of having them change color like the example found here: http://support.scichart.com/index.php?/Knowledgebase/Article/View/17185/28/series-selection-and-selected-series-styling
I was thinking the easiest way to do it would be by using an OutlineEffect or DropShadowEffect shader being applied to the series line. But I’m not sure where to put the Effect in the style as
<Style TargetType="SciChart:FastLineRenderableSeries"> <Setter Property="Effect"> <Setter.Value> <DropShadowEffect BlurRadius="12" Color="Yellow" ShadowDepth="0"/> </Setter.Value> </Setter> </Style
This doesn’t do anything, and looking at the application using snoop shows me that an image is being created out of the render series, and hovering over RenderableSeries is not showing me what that control looks like in Snoop making me guess that RenderSeries isn’t actually rendering anything.
On a seperate note, I want to do this for every type of series so this isn’t just for the Line series. And I want to avoid adding a seperate Series from the ViewModel of thickness “regularSeries.Thickness + 2”, because that would just make things more complicated than it needs to be. It would also be OK to do it in a controlTemplate, however I don’t know how to template any of the series and what to add in them. I’m planning to set the Effect on a “IsSelected” trigger on the style.
I’ve made an illustration on what type of thing I’m looking to do: