Annotations in front with multiple x-axes

A forum dedicated to WPF version of LightningChart Ultimate.

Moderator: Arction_LasseP

Post Reply
feberhard
Posts: 3
Joined: Mon Nov 13, 2017 1:45 pm

Annotations in front with multiple x-axes

Post by feberhard » Mon Nov 13, 2017 1:58 pm

Hi,

Is there a simple way to have an annotation always on top of all series from different x-axes?

Currently I have one x-axis in the beginning on which I create the annotation on. Series on this initial x-axis are behind the annotation.
However, when I add additional x-axes with additional series, these series are on top of the annotation.
Is it possible to have an annotation that is always on top of all series?


Thanks in advance

ArctionKestutis
Posts: 367
Joined: Mon Mar 14, 2016 9:22 am

Re: Annotations in front with multiple x-axes

Post by ArctionKestutis » Mon Nov 13, 2017 3:13 pm

Hi,

You could disable Annotation.RenderBehindAxis property. This way Annotation will be rendered after the axis (and after all series as well).

Hope this helps.
All the best.

feberhard
Posts: 3
Joined: Mon Nov 13, 2017 1:45 pm

Re: Annotations in front with multiple x-axes

Post by feberhard » Mon Nov 13, 2017 3:20 pm

That solved my problem.

Thank you very much.

Post Reply