-
Notifications
You must be signed in to change notification settings - Fork 20
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
Log Scale broken for variables with 0 or negative values #960
Comments
Yes, you can't take the log of zero or negative numbers. Yes, we should disable that choice for variables whose range includes values of zero or less. |
@pjcross thanks, I'll do that. I will also need to update the validation for axes ranges to prevent 0 or negative values for variables that have a log scale. And update the disabling of log radio buttons each time the axes scales are changed. |
This is also affected by "Actions > Edit Variable Values" as the user can change the value of an editable variable to be 0 or less. |
…in of 0 or less. Addresses #960
* feat: add favicon * Adding favicon to all pages. Closes #1168 * style: minor typescript warning cleanup * style: prettier * style: prettier * fix: disable log scale radio button for variables with custom range min of 0 or less. Addresses #960 * fix: enforce values greater than 0 when editing log scale variables. Addresses #960 * style: update validation text
* feat: add favicon * Adding favicon to all pages. Closes #1168 * style: minor typescript warning cleanup * style: prettier * style: prettier * fix: disable log scale radio button for variables with custom range min of 0 or less. Addresses #960 * fix: enforce values greater than 0 when editing log scale variables. Addresses #960 * style: update validation text * fix: adding validation for variable ranges for log scales. Addresses #960 * refactor: remove test attribute and fix type * build: fix vulnerabilities * build: minor package upgrades * refactor: rename old ControlsDropdown component * refactor: move new ControlsBar into global components folder * refactor: remove old ControlsDropdownOld and adjust new ControlsDropdown to handle all of its work * refactor: rename component * refactor: linting * refactor: rename * build: install types for bootstrap and uuid
Seems that log scales can't contain 0 or smaller values. @pjcross, perhaps we should disable the log radio buttons for any variables that have 0 or smaller values in the Axes Scales UI?
The text was updated successfully, but these errors were encountered: