Skip to content

add mouse move and click events on charts to utils.py#377

Open
gokulchittaranjan wants to merge 5 commits intolouisnw01:mainfrom
gokulchittaranjan:gokulchittaranjan/enhancement/mousemove_click_event
Open

add mouse move and click events on charts to utils.py#377
gokulchittaranjan wants to merge 5 commits intolouisnw01:mainfrom
gokulchittaranjan:gokulchittaranjan/enhancement/mousemove_click_event

Conversation

@gokulchittaranjan
Copy link

This PR adds the mose move and click events to utils.py.
This can be used to get the bar_index, timestamp, OHLC upon mouse move or click into a python handler method.

@fattymango
Copy link

fattymango commented Jul 24, 2024

We need this so much!
@louisnw01

@esteban2006
Copy link

hello there @gokulchittaranjan and @louisnw01, I have a question is there a way to add a on context menu, basically a right click personalized menu ?

image

check this codepen

@germangar
Copy link

Can I beg for this to be added to main? I'd really want to use mouse hovering for printing data of the candle in the cursor as TV does, but if I'm going to open my project repository (and I will) I can't ask other people to apply patches on python-lightweight-charts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants