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

Is there something like z-index for multi-series in a same chart?

2 Answers 140 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Jianxun
Top achievements
Rank 1
Jianxun asked on 26 Jun 2014, 12:30 PM
say I have draw a line chart with 5 data series. At some data points multiple series may intersect. e.g., at x=10, all the lines have a y-value of 0.  When user mouse hover these overlap data points, I always want to show the tooltip from series k. That is to say, series k has a "z-index" bigger than other series. Could kendo chart provide such a parameter? I want to show some particular line always on top of other lines when overlap, as well as its tooltip.

2 Answers, 1 is accepted

Sort by
0
Jianxun
Top achievements
Rank 1
answered on 30 Jun 2014, 09:12 AM
I search the help document but could not find something like "z-index" for multi-series in a chart. Anyone can help?
0
Accepted
Iliana Dyankova
Telerik team
answered on 30 Jun 2014, 10:30 AM
Hi Jianxun,

There is no a zIndex option for Kendo UI chart series. Keep in mind that series order depend on the series order definition - the last defined series swill be drawn on the top. Hence in order to ensure a particular line is always on top of other lines I would suggest to define it last.

Regards,
Iliana Nikolova
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Chart
Asked by
Jianxun
Top achievements
Rank 1
Answers by
Jianxun
Top achievements
Rank 1
Iliana Dyankova
Telerik team
Share this question
or