Select the date of element

2 posts, 0 answers
  1. alex
    alex avatar
    7 posts
    Member since:
    Mar 2016

    Posted 24 Mar Link to this post

    Help me please
    How to  select (<strong> or <b> or ...) the current date, which is at the bottom?
    Based on the selected item (::hover ...)
    Screenshot:
  2. EZ
    EZ avatar
    60 posts
    Member since:
    May 2015

    Posted 24 Mar in reply to alex Link to this post

    On seriesHover, find the SVG:text element that contains the category text and make it bold:

    seriesHover: function(e) {
      $( "#chart text" ).css("font-weight", "normal");
      $( "#chart text:contains(" + e.category  + ")" ).css("font-weight", "bold");
    }

    DEMO

  3. Kendo UI is VS 2017 Ready
Back to Top