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

Auto-scale Y-axis for indicators when zooming #356 #389

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

zlpatel
Copy link
Contributor

@zlpatel zlpatel commented Jun 17, 2021

Fixes #356

@@ -607,9 +615,16 @@ def __eq__(self, other):

custom_js_args = dict(ohlc_range=fig_ohlc.y_range,
source=source)
if plot_pl:
custom_js_args.update(pl_range=fig_pl.y_range)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change was not required. I think I might have added that while I was trying to see if I can add auto scale feature for P/L chart. Since it's already been added in the commit, I still see a value in keeping it for future use, But if you think that it's not worth adding it right now and will cause confusion then I can remove it. Let me know.

@kernc kernc force-pushed the master branch 3 times, most recently from 7fd493d to e7981c7 Compare December 13, 2021 01:18
@kernc kernc force-pushed the master branch 9 times, most recently from 60eff81 to 109c352 Compare November 28, 2022 22:33
@zlpatel
Copy link
Contributor Author

zlpatel commented May 29, 2023

@kernc can you please take a look at this pull request?

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.

Auto-scale Y-axis for indicators graph when zooming
2 participants