Logic Machine Forum
lots of curve with highlight - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Visualization (https://forum.logicmachine.net/forumdisplay.php?fid=9)
+--- Thread: lots of curve with highlight (/showthread.php?tid=4236)



lots of curve with highlight - domotiqa - 12.09.2022

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


RE: lots of curve with highlight - admin - 13.09.2022

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();
      }
    });
  }
});



RE: lots of curve with highlight - domotiqa - 13.09.2022

thks a lot !