slaclab / trace

Live and Archived data plotting tool
https://slaclab.github.io/trace/
3 stars 4 forks source link

[BUG] - Curve's Archive Min/Max Brackets Don't Move With Curve #76

Open zdomke opened 1 week ago

zdomke commented 1 week ago

Describe the bug

When curve items move on the plot, the associated min/max brackets (when optimized data is fetched) do not move with the curve. They stay static on the plot instead.

This bug occurs when the ArchiveCurveItems move, typically when the axis' Log Mode is enabled/disabled.

Expected behavior

The min/max brackets should move with the curve.

Steps to Reproduce

  1. Insert a PV that is being archived (VGXX:L1B:0202:P)
  2. Zoom out to some range that requires optimized data (2mo?)
  3. Enable log mode for the curve's axis
  4. Notice that there is a section of the line that does not move with the line, this is a collection of brackets

Possible solution (optional)

This should be an issue with ArchiveCurveItems in PyDM. Look into how the brackets are implemented.

My platform

No response

Additional context

Screenshot 2024-10-29 at 14 31 38