-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Plots in Time Strip are not aligning properly with Plans #6812
Labels
Comments
@akhenry to look for older duplicate issue. |
One possible approach to a fix here is: instead of putting the plot axis into the left column in the DOM, first calc the space needed for the widest Y axis space for all plots included in the view, then use that value to offset the left edge of all other views (plans, imagery, etc.) so that everything lines up. |
still critical |
14 tasks
ozyx
added a commit
that referenced
this issue
Jul 22, 2024
* DRAFT - alignment for axes * Use alignmentContext to manage tick widths instead of passing around as props * Remove log statements * Add ability to remove alignment widths for a given y axis * Fix computation of left margin and width of plan when in the timestrip * Remove excess padding when there is no left y axis * Use alignment composable to adjust left margin and width of time system axis * Fix now marker visibility * refactor: use built in `Map()` data structure * refactor: improve readability and conciseness * docs: improve jsdocs * refactor: move jsdoc typedefs to bottom of file * refactor: axis to use vue reactivity * fix: return alignment as an object of refs * alignmentMap needs to be shared state, move it out of the useAlignment composable. * Fix now marker offset * Add new visual test for time strips * update with animation stabilization * Fix failing test due to changed injected property (path -> objectPath) * change injected property from path to objectPath * Fix spelling * Remove unused arguments to function call --------- Co-authored-by: Jesse Mazzella <[email protected]> Co-authored-by: Hill, John (ARC-TI)[KBR Wyle Services, LLC] <[email protected]>
Looks good to me! Verified fixed. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary
In Testathon 7/19/23, when a plot view is in a Time Strip with a Plan, it's not aligning properly with the Plan in time due to the plot's Y axis:
Expected Behavior
The Time Strip is supposed to include any included plot's Y axes width into its offset calculation:
Environment
Impact Check List
The text was updated successfully, but these errors were encountered: