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

Select the date of element

1 Answer 8 Views
Charts
This is a migrated thread and some comments may be shown as answers.
alex
Top achievements
Rank 1
alex asked on 24 Mar 2016, 07:25 AM
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:

1 Answer, 1 is accepted

Sort by
0
EZ
Top achievements
Rank 2
answered on 25 Mar 2016, 01:28 AM

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

Tags
Charts
Asked by
alex
Top achievements
Rank 1
Answers by
EZ
Top achievements
Rank 2
Share this question
or