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

Marker z-index problem

2 Answers 128 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Michaël
Top achievements
Rank 1
Michaël asked on 04 Dec 2014, 04:57 PM
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 Answers, 1 is accepted

Sort by
0
Michaël
Top achievements
Rank 1
answered on 04 Dec 2014, 04:59 PM
It seems picture was not attached correctly. Here it is
0
Iliana Dyankova
Telerik team
answered on 08 Dec 2014, 12:48 PM
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!
 
Tags
Charts
Asked by
Michaël
Top achievements
Rank 1
Answers by
Michaël
Top achievements
Rank 1
Iliana Dyankova
Telerik team
Share this question
or