Getting Y value on mouse events #6407
              
                Unanswered
              
          
                  
                    
                      davifelix5
                    
                  
                
                  asked this question in
                Q&A
              
            Replies: 0 comments
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey everyone!
Does anyone have a workaround for not being able to get the y-value in which a mouse event occurs inside a Cartesian chart?
I want to implement a square area zoom functionality, but I can't seem to make it work because I only have the x-value through the
activeLabelparameter, but not the y-value.I did not find a straighforward way to get the y value based on the coordinate given on the event, but I assume it is possible. Does anyone know how it could be done?
Beta Was this translation helpful? Give feedback.
All reactions