This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

lots of curve with highlight
#1
Hi, Is there a way to scroll the the list to the good curve the mouse pointer is above.

I explain. When using lots of curve like here:
   

Sometimes we need to go over a point but the name curve is at the bottom of the list, so hard to find the right value.
Is there a css trick or JS ?

Regards
-----------
FRANCE SMARTHOME & SMARTBUILDING INTEGRATION
SE ECO EXPERT
Reply
#2
This will be fixed in the next release. In the meantime you can use this custom JS:
Code:
$(function(){
  if (window.Chart) {
    Chart.$c.on('mousemove', function() {
      var el = document.querySelector('.flotr-legend-hl');
      if (el) {
        el.scrollIntoView();
      }
    });
  }
});
Reply
#3
thks a lot !
-----------
FRANCE SMARTHOME & SMARTBUILDING INTEGRATION
SE ECO EXPERT
Reply


Forum Jump: