Select the date of element

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

    Posted 24 Mar 2016 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 ...)
  2. EZ
    EZ avatar
    65 posts
    Member since:
    May 2015

    Posted 24 Mar 2016 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");


Back to Top