-
-
Notifications
You must be signed in to change notification settings - Fork 142
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
Toggle trace/field visibility #664
Toggle trace/field visibility #664
Conversation
This comment has been minimized.
This comment has been minimized.
i like this; however, would like color bar and possibly the number still be clickable for showing/updating the spectral graph |
AUTOMERGE: (FAIL)
|
SonarCloud Quality Gate failed. 0 Bugs No Coverage information Catch issues before they fail your Quality Gate with our IDE extension SonarLint |
Do you want to test this code? Here you have an automated build: |
if (config.isGraphFieldHidden(graphIndex, fieldIndex)) { | ||
$this.removeClass("glyphicon-eye-open"); | ||
$this.addClass("glyphicon-eye-close"); | ||
} else { | ||
$this.addClass("glyphicon-eye-open"); | ||
$this.removeClass("glyphicon-eye-close"); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe use toggleClass (with state param)
Fixes #380. I removed the equalizer icon from the legend because it had no real function and clicking on the field name had the same functionality (opening the analyzer display). Instead I replaced that icon with a toggle button to show/hide individual traces within a graph. The field names are now underlined on hover to indicate that they are clickable and open the analyser display just like before.