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

Bugfix for plot label rendering #2155

Merged
merged 1 commit into from
Mar 3, 2022
Merged

Bugfix for plot label rendering #2155

merged 1 commit into from
Mar 3, 2022

Conversation

georgweiss
Copy link
Collaborator

In case the PVs configured for an X/Y plot are not connected when the widget is first rendered, the trace labels are rendered using the PV names only. Then, once the PVs connect, a unit may be available, which effectively changes the length of the label strings. At this point the "layout" of the labels must be recomputed to avoid the situation as in attached images.

This PR attempts to fix the issue.

Screenshot 2022-03-03 at 17 24 40
Screenshot 2022-03-03 at 17 25 10

@georgweiss georgweiss requested a review from kasemir March 3, 2022 16:40
@kasemir kasemir merged commit 6431ab6 into master Mar 3, 2022
@kasemir kasemir deleted the CSSTUDIO-1600 branch March 3, 2022 18:04
georgweiss added a commit that referenced this pull request Mar 6, 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

Successfully merging this pull request may close these issues.

2 participants