openmct
openmct copied to clipboard
Plots in Time Strip are not aligning properly with Plans
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
- Open MCT Version: 3.0.0 SNAPSHOT
- Deployment Type: /latest, /testathon
- OS:
- Browser:
Impact Check List
- [x] Data loss or misrepresented data?
- [ ] Regression? Did this used to work or has it always been broken?
- [ ] Is there a workaround available?
- [x] Does this impact a critical component?
- [ ] Is this just a visual bug with no functional impact?
- [ ] Does this block the execution of e2e tests?
- [ ] Does this have an impact on Performance?
@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
Testathon 2024-05-09: still not fixed. Purple and yellow dashed lines show elements that should be aligned.
Testing Instructions: Create a Time Strip with different types of plots, stacked plots, overlay plots with multiple axes and a plan. Make sure that The main view of the plots, plans and time system axis are aligned properly. Try this in Fixed timespan and realtime modes.
For example:
Looks good to me! Verified fixed.