Closed
Description
Describe the bug
I noticed when doing QA today that the zoom on the Graph page was not consistent. Digging into the code, I noticed some irregularities with both the zoom logic, and the page generation. The use of variables was not consistent, which can lead to small memory leaks over time. In addition, the zoom function seems to be dependent on some 'pre-existing' variables and that they be global.
Expected behavior
Cacti should minimize memory leaks as much as possible.