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

Question: Autoscale plots when legend item is turned off #11

Closed
optio50 opened this issue Oct 29, 2022 · 2 comments
Closed

Question: Autoscale plots when legend item is turned off #11

optio50 opened this issue Oct 29, 2022 · 2 comments

Comments

@optio50
Copy link

optio50 commented Oct 29, 2022

I cant determine if this is a pyqtgraph function or PGlive.

A graph with multiple plots and a legend.
If you click an item in the legend box its plot is turned off in the graph. (its still collecting data)

What I have is three plots with what can be large variations in Y axis values.
I was hoping to autorange the remaining plots when a plot is turned off from the legend.
For example below. Turn off Watts and have Volts and Amps auto scale for best viewable resolution.
legend-plots

@domarm-comat
Copy link
Owner

This is issue of pglive and LiveAxisRange. Issue was, that plot was used in autorange calculation when it was hidden.
This should be fixed in version 0.5.4.

@optio50
Copy link
Author

optio50 commented Oct 30, 2022

Confirmed Fixed!
PGlive gets more exciting all the time.

Thanks for the quick fix :-)

@optio50 optio50 closed this as completed Oct 30, 2022
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

No branches or pull requests

2 participants