Marker z-index problem

3 posts, 0 answers
  1. Michaël
    Michaël avatar
    44 posts
    Member since:
    Feb 2014

    Posted 04 Dec 2014 Link to this post

    Hi,

    I have a line chart (but same problem occurs on area chart) where the highlighted markers goes over the left axis. However, as you can see on the screenshot, it seems that the left axis is drawn after the marker,hence resulting in an ugly visual glitch. How can I change the z-index so that the marker is drawn after?

    Thanks
  2. Michaël
    Michaël avatar
    44 posts
    Member since:
    Feb 2014

    Posted 04 Dec 2014 Link to this post

    It seems picture was not attached correctly. Here it is
  3. Iliana Nikolova
    Admin
    Iliana Nikolova avatar
    2622 posts

    Posted 08 Dec 2014 Link to this post

    Hi Michaël,

    In order to achieve the expected result you should set zIndex -1 to the valueAxis: 
    $("#chart").kendoChart({
      //....
      valueAxis: {
         zIndex: -1
      }
    });

    Regards,
    Iliana Nikolova
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
Back to Top