Skip to content

Fix stale dashed tail not clearing on live history chart update - #3456

Open
Salvialf wants to merge 1 commit into
developfrom
fix/history-graphUpdate-zones
Open

Fix stale dashed tail not clearing on live history chart update#3456
Salvialf wants to merge 1 commit into
developfrom
fix/history-graphUpdate-zones

Conversation

@Salvialf

@Salvialf Salvialf commented Aug 2, 2026

Copy link
Copy Markdown
Contributor
  • When a chart's last known value is more than a minute old, drawChart extends the line to "now" with a synthetic flat point, styled as a dashed zone to indicate it's not real data.
  • graphUpdate (used for live updates via cmd::update) only appended the new point without ever clearing this synthetic point or its dashed zone, so once a chart had this treatment, any subsequent live update stayed dashed and kept the stale flat segment in front of the new real data.
  • graphUpdate now removes the synthetic point and resets the zones before adding the new real value, so the chart correctly returns to a solid line as soon as fresh data arrives.

@Salvialf Salvialf added the changelog-fix Use to generate release notes / changelog To be apply on PR label Aug 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog-fix Use to generate release notes / changelog To be apply on PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant