I’m working with FastLineRenderableSeries and big amount of annotations. I need to put some annotations below LineSeries, but above other annotaions.
I’ve read article about order of annotaions and renderable series and using of stack, but it doesn’t make a sense.
Thank in advance.
Here are sreenshots.
The SciChartSurface is custom control, which is templated in XAML and has many layers. In brief, the layers include:
It is important to note that while RenderableSeries all exist on the same layer (the RenderSurface), the z-order of RenderableSeries is determined like this.
Given three RenderableSeries, a, b, c
However, setting the RenderableSeries.IsSelected property can re-order the Z-Index, bringing for instance:
Does that answer your question?
The reason for this is that mouse events are handled by some control lying over the underneath annotations canvas, probably by the render surface. So you could try setting IsHitTestVisible to “False” on it: ((RenderSurfaceBase)sciChart.RenderSurface).IsHitTestVisible = false . Make sure you do this after the surface was loaded, e.g. a Loaded event handler could be a suitable place.
Please login first to submit.