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

js/CGP: Disable page refesh when scrolling or zooming a graph #173

Merged
merged 1 commit into from
Feb 23, 2021
Merged

js/CGP: Disable page refesh when scrolling or zooming a graph #173

merged 1 commit into from
Feb 23, 2021

Conversation

alanswanson
Copy link
Contributor

When scrolling or zooming a graph we want to disable the page refresh because we are trying to look at the detail. Unfortunately
Javascript cannot override the refresh meta tag;

<meta http-equiv="refresh" content="{$CONFIG['page_refresh']}">

Except with a window.stop() which is brutal but since the complete RRD data has already been read this is not an issue.

See issue #139 suggesting submitting a PR to refresh RRD data whilst a graph is scrolled or zoomed.

When scrolling or zooming a graph we want to disable the page
refresh because we are trying to look at the detail. Unfortunately
Javascript cannot override the refresh meta tag;

<meta http-equiv="refresh" content="{$CONFIG['page_refresh']}">

Except with a window.stop() which is brutal but since the
complete RRD data has already been read this is not an issue.

See issue #139 suggesting submitting a PR to refresh RRD data
whilst a graph is scrolled or zoomed.
@pommi pommi merged commit 5daa8b3 into pommi:master Feb 23, 2021
@pommi
Copy link
Owner

pommi commented Feb 23, 2021

Thank you! 👍

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.

2 participants