Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
jduenyas
Specialist
Specialist

Mouse move

Hi all

Is there a function such as OnMouseMove which could show the x,y position of the cursor on a chart?

Thanks

7 Replies
swuehl
MVP
MVP

If you are using the desktop client (not sure about the other clients right now), enabling the status bar will show the current position of your pointer in a chart at the bottom left.

jduenyas
Specialist
Specialist
Author

Thanks

I would like to show the X and Y values in a chart's Window Title ( = 'X: ' & <valueofx> & '  Y:  ' & <valueofy>) if that is possible.

swuehl
MVP
MVP

No, I don't think that's possible, at least I am not aware of any QV function (and I would assume I had remembered this one 😉

I also don't think that you can achieve this with a macro, and if, I wouldn't recommend it.

Sorry,

Stefan

P.S: You are free to create an idea (like a function request) for that here in the forum.

P.P.S. I forgot: if you are moving over a data point, you should see the coordinates for that data point in a pop up.

jduenyas
Specialist
Specialist
Author

So the data is there.

It could be usful in dynamic maps...

Thanks Stefan

IAMDV
Luminary Alumni
Luminary Alumni

jduenyas - I agree with Stefan. I haven't seen any inbuilt function & API reference in QV. But you are right, I was very excited when I first saw the X & Y coordinates on the bottom left hand side of the screen. I thought we can acess this data and make some cool things like Hover-Over event. Also, most importantly it would be very useful for a mapping solution in QV. I hope QlikTech does something in future and please let me know if you have posted an idea and I'd mark my vote for the request.

I'm attaching one more example for your reference which controls the postion of the SheetObject based on X-pos and Y-pos values in the Caption tab. I understand this is not what you are looking for but I thought I'd share something relevant.

Ps : This example uses the macro and it is written by someone else (I think its John). So all credit to the person who created this one.

Cheers - DV

jduenyas
Specialist
Specialist
Author

How do I create and idea as you suggested?

I think it could be a valuable tool/method/property

Thanks

swuehl
MVP
MVP

On the top menu bar here in the community, there should be a button New -> idea