-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
UAT All X-Axis & Y-Axis Range Zooms #133
Comments
Moving to backlog to refine item |
there is still something odd going on here. using the study app we have been testing new version with it looks like the plot is okay but the slider seems to get displayed with incorrect tick marks right out of the gate. |
Might have something to do with how steps are generated/updated in teal.goshawk: Acceptance Criteria:
|
toggle_slider_ui(
ns("yrange_scale"),
label = "Y-Axis Range Zoom",
min = -1000000,
max = 1000000,
value = c(-1000000, 1000000)
) for |
This is solution for #133 `toggle_slider` is a component that is a sliderInput that can be toggled to become a numericInput. <img width="172" alt="image" src="https://github.com/user-attachments/assets/df97ef6a-e7a5-4f96-bb43-8159f5f9dd83"> <img width="172" alt="image" src="https://github.com/user-attachments/assets/64aa88ec-a041-4c3a-93ee-d5fd12a1def2"> The PR fixes the issue with ranges on sliderInput that should be adjusted based on numericInput. So if slider had ranges min_sliderInput and max_sliderInput and values for numercInput are changed, so that min(numercInput) is lower than min_sliderInput or max(numercInput) is greater than max_sliderInput, then `min_sliderInput` or `max_sliderInput` should be extended for new ranges. # Example 1 min_sliderInput, max_sliderInput - on start 0, 55 <img width="166" alt="image" src="https://github.com/user-attachments/assets/e3bfcb1a-a2f4-435e-8569-54d45c549486"> hence numericInput on start 0, 55 <img width="166" alt="image" src="https://github.com/user-attachments/assets/e4988200-5e89-452e-a287-12fbabc6f4bb"> numericInput changes to -5, 65 <img width="173" alt="image" src="https://github.com/user-attachments/assets/1635521c-ace1-468a-8a8c-a3d758093fcc"> sliderInput changes to -5, 65 <img width="170" alt="image" src="https://github.com/user-attachments/assets/62aee129-083c-4286-afef-86cb5ab0e0a8"> # Example 2 Continuation of the previous one, if you change numericInput from -5, 65 <img width="170" alt="image" src="https://github.com/user-attachments/assets/416ff11a-b5ed-4e0c-9ff6-3695019b8c1f"> to 4, 45 <img width="172" alt="image" src="https://github.com/user-attachments/assets/0d25721f-9da0-4d77-ae21-d7bc579d2963"> sliderInput is reset (the min and max) to original 0, 55 but values are set to 4, 45 <img width="172" alt="image" src="https://github.com/user-attachments/assets/e39ac970-5bb2-4297-89f1-062fcab74d5e"> --------- Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
using CRP as assay
range zoom defaults to slider
Boxplot Tick marks don't look right
changing range zoom by toggle to inputs and setting max to max+10 results in expected 0 to max+10 range axis.
but when toggle back to slider the slider value range returns to 0 to max but the plot still displays 0 to max+10. need to slide to max-1 to trigger reactivity and now the axis range is 0 to max-1.
The text was updated successfully, but these errors were encountered: