Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Price scale zoom via mouse wheel when hovering over price. #1237

Open
JonSingleton opened this issue Jan 11, 2023 · 1 comment
Open

Price scale zoom via mouse wheel when hovering over price. #1237

JonSingleton opened this issue Jan 11, 2023 · 1 comment
Labels
enhancement Feature requests, and general improvements. needs investigation Needs further investigation.

Comments

@JonSingleton
Copy link

JonSingleton commented Jan 11, 2023

When scrolling (either via mousewheel or two-fingered touchpad, does not matter) within lightweight charts while hovering over the right-side scale, the chart itself zooms in the same manner as while hovering over the chart data (rather than over the right-side scale). Currently the only way to do this is to click and drag the right-side scale up and down.

An option to pass when creating the chart to allow the functionality to change so that when hovering the mouse over the right-side scale and scrolling, the price scale zooms in and out (candles increase/decrease in height), while still allowing scrolling as normal while hovering over the chart data.

This is the default behavior within tradingview and I've become so accustomed to it.

I believe issue 1162 is asking for this same behavior but I believe it was misunderstood and incorrectly linked to 971 which deals with charts capturing scrolling when trying to scroll a page.

It would make my day if someone replies and informs me this option is already available. I've combed through the documentation as best as I could as well as issues here and I've not been able to turn up an answer for it.

example

@SlicedSilver SlicedSilver added enhancement Feature requests, and general improvements. needs investigation Needs further investigation. labels Jan 11, 2023
@stolemabike
Copy link

did you ever figure this out @JonSingleton ? unexpected gap given how this is the behavior in native tradingview.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Feature requests, and general improvements. needs investigation Needs further investigation.
Projects
None yet
Development

No branches or pull requests

3 participants