Home Forums Chart Support mouseover help Reply To: mouseover help

#28164

So, I am getting a weird thing on my line graphs, where When I initially mouseover the line, it does nothing, but when I move to another point, then it fires off.

However, another part of my problem was I did not want ID, I needed to do this by the object class:

mouseover: function color() {
var elements = document.getElementsByClassName(‘test’); // get all elements
for(var i = 0; i < elements.length; i++){
elements[i].style.backgroundColor = “red”;
}
},

end result for your bar graph can be seen here:
https://jsfiddle.net/h28xmnfy/

Will do some more testing and get back to everyone. Thanks for the quick response!