CartesianGridLineAnnotation ZIndex problem

2 posts, 1 answers
  1. LOUGE
    LOUGE avatar
    12 posts
    Member since:
    Jun 2010

    Posted 23 Jan 2013 Link to this post

    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.
  2. Answer
    Petar Marchev
    Admin
    Petar Marchev avatar
    968 posts

    Posted 28 Jan 2013 Link to this post

    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.

  3. UI for WPF is Visual Studio 2017 Ready
Back to Top