This is a migrated thread and some comments may be shown as answers.

CustomGridLine ZIndex

3 Answers 69 Views
Chart
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Michael
Top achievements
Rank 1
Veteran
Iron
Michael asked on 05 Sep 2012, 07:34 AM
Hy,

is there a possibility to increase the ZIndex of a CustomGridLine, so the CustomGridLine is in front of the Series?

cheers
mike

3 Answers, 1 is accepted

Sort by
0
Evgenia
Telerik team
answered on 05 Sep 2012, 08:49 AM
Hello Michael,

 To achieve this you should retemplate the Chart Area and put the Annotations Layer within the Zoom Layer. The result template is shown in our documentation - here.

Greetings,
Evgenia
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Michael
Top achievements
Rank 1
Veteran
Iron
answered on 05 Sep 2012, 09:10 AM
Thx for the reply!

I've tried it, but it does not work.
The tooltips are shown correctly infront of the series, but the custom gridlines are not
.

cheers mike
0
Accepted
Evgenia
Telerik team
answered on 10 Sep 2012, 08:32 AM
Hello Michael,

 I forgot to mention that the Annotation Layer needs to be added after the Item Presenter in the DragZoomLayerControl. You also need to set IsHitTestVisible= false for the Annotation layer.

All the best,
Evgenia
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
Chart
Asked by
Michael
Top achievements
Rank 1
Veteran
Iron
Answers by
Evgenia
Telerik team
Michael
Top achievements
Rank 1
Veteran
Iron
Share this question
or