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.
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.