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

[NX Spectrum] Legend and tooltip values for auxiliary signals #970

Closed
tomio13 opened this issue Feb 16, 2022 · 5 comments · Fixed by #1049
Closed

[NX Spectrum] Legend and tooltip values for auxiliary signals #970

tomio13 opened this issue Feb 16, 2022 · 5 comments · Fixed by #1049
Assignees

Comments

@tomio13
Copy link

tomio13 commented Feb 16, 2022

Plotting multiple curves

based on the auxiliary signal in data file has no indication of which signal is which. Moving the cursor around also shows only data related to one curve, thus no help.

It would be great to have a legend which could be called up on the side indicating which color / curve type belongs to which signal.

@axelboc axelboc changed the title Legend for auxiliary signals / multiple curves Legend and tooltip values for auxiliary signals / multiple curves Feb 17, 2022
@axelboc axelboc changed the title Legend and tooltip values for auxiliary signals / multiple curves Legend and tooltip values for auxiliary signals Feb 17, 2022
@axelboc axelboc changed the title Legend and tooltip values for auxiliary signals [NxLine] Legend and tooltip values for auxiliary signals Feb 17, 2022
@axelboc axelboc changed the title [NxLine] Legend and tooltip values for auxiliary signals [NX Spectrum] Legend and tooltip values for auxiliary signals Feb 17, 2022
@axelboc axelboc self-assigned this Feb 22, 2022
@axelboc
Copy link
Contributor

axelboc commented Mar 31, 2022

Hi @tomio13, we now show the names and values of the auxiliary signals in the tooltip:

image

Next, I was thinking of adding the colours of the auxiliary signals (and of the main plot) to the tooltip, which, in a way, would turn the tooltip into a legend! So my question is: would that be sufficient, do you think, or would you still need a separate legend in the bottom right corner?

@axelboc
Copy link
Contributor

axelboc commented Apr 1, 2022

PR open to add plot colors to the tooltip:

image

I'll wait to hear back from you and your team, @tomio13, before implementing a separate legend, as I feel like this version of the tooltip solves the initial issue of identifying which plot is which.

@tomio13
Copy link
Author

tomio13 commented Apr 1, 2022

@axelboc : Thank you, this looks quite great.
I think, this is excellent for live view and handling of the data.
A legend is necessary then whenever the user tries to export / print the plot.

@axelboc
Copy link
Contributor

axelboc commented Apr 1, 2022

Great! I'll close this issue then. I've opened #1050 to deal with exporting visualisations as images, as this is not something that is currently implemented at all.

@axelboc axelboc closed this as completed Apr 1, 2022
@tomio13
Copy link
Author

tomio13 commented Apr 1, 2022

Thanks!

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 a pull request may close this issue.

2 participants