You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey @amitkumar -- do you mind adding some screenshots/description of what this change looks like, or updating/adding an example chart in the example app screens inside the repo? Thanks for the test too!
Just sharing some findings and our workaround:
We used a similar approach to ensure that the y-axises stay at the same place when switching between different graphs. It looks like if we adjust the padding and apply nicing, it changes the position of all the y-axis. This causes an UI issue in our use case, where the y-axis jumps to different spots when you switch between different graphs; on the other hand, completely removing nicing would resulted in missing top or bottom ticks in some cases due to losing the benefit of nicing. To workaround this, we apply nicing just before the padding adjustment. This appears to work, but not sure about other implications.
I believe the key aspect here might be the padding adjustment. Would it be possible to apply padding without domain adjustment?
Screen.Recording.2024-02-27.at.8.33.48.PM.mov
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
isNiceparam tomakeScaleconditional, false if user y domain is defined.Fixes # (issue)
Type of Change
How Has This Been Tested?
transformInputDatato verify that user-defined domain is preserved.