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

CartesianGridLineAnnotation ZIndex problem

1 Answer 114 Views
ChartView
This is a migrated thread and some comments may be shown as answers.
LOUGE
Top achievements
Rank 1
LOUGE asked on 23 Jan 2013, 01:16 PM
Hi,
Use ZIndex property doesn't work when i use it like that :

<telerik:CartesianGridLineAnnotation Axis="{Binding ElementName=verticalAxis}"
                                                         Value="0"
                                                         Stroke="White"                                                 
                                                         ZIndex="0"/>

The series are under the annotation.

So, when putting Panel.ZIndex = 0  CartesianGridLineAnnotation  with snoop, shows the annotation under the series like i expect.

1 Answer, 1 is accepted

Sort by
1
Accepted
Petar Marchev
Telerik team
answered on 28 Jan 2013, 11:24 AM
Hi,

The ZIndex is a property of the annotation based on which the Panel.ZIndex property is calculated and set. You can try a value between -250 and -150, this should position the annotation under the series and above the cartesian grid. Let us know if you need further assistance. 

Greetings,
Petar Marchev
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
ChartView
Asked by
LOUGE
Top achievements
Rank 1
Answers by
Petar Marchev
Telerik team
Share this question
or