Skip to content
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

[canvas-] clear box sizes on reset() #2598

Merged
merged 1 commit into from
Nov 7, 2024

Conversation

midichef
Copy link
Contributor

@midichef midichef commented Nov 6, 2024

This change will help support the use case of monitoring graph sheets by repeatedly reloading them.

Currently, when a graph is reloaded, it won't resize itself to show new datapoints that are outside the current plot view box. After this PR, it will recalculate its size just as if the new data had been present during the first graph draw.

If this PR and #2597 are both accepted, #2570 can be closed.

Copy link
Owner

@saulpw saulpw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure.

Update what is visible after data changes in the source sheet.
@anjakefala anjakefala merged commit bedc087 into saulpw:develop Nov 7, 2024
14 checks passed
@midichef midichef deleted the canvas_reset_boxes branch November 7, 2024 08:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants