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

3 posts, 1 answers
  1. Jianxun
    Jianxun avatar
    28 posts
    Member since:
    Dec 2013

    Posted 26 Jun 2014 Link to this post

    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. Jianxun
    Jianxun avatar
    28 posts
    Member since:
    Dec 2013

    Posted 30 Jun 2014 in reply to Jianxun Link to this post

    I search the help document but could not find something like "z-index" for multi-series in a chart. Anyone can help?
  3. Answer
    Iliana Nikolova
    Admin
    Iliana Nikolova avatar
    2615 posts

    Posted 30 Jun 2014 Link to this post

    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.

     
Back to Top