Hi!
I'm working on integrating some MySQL monitoring into Zabbix which involves selecting a range of time.
I need to be able to get the time a user is pointing to. That is, given an x-position on the generated image, I need the specific time represented.
See the attached chart. I need to be able to programmatically determine the start time and end time of the range between the two vertical red bars.
Does the graph class already contain such a function?
If it does not, all I really need is a way to determine the exact x-value of the beginning and end of the graph, as well as the time for the beginning and end.
graph.inc.php does not appear to be commented much, so I'm finding it rather difficult to find what I'm looking for (especially when I'm not exactly sure what I'm looking for...)
Thanks for your help!!
I'm working on integrating some MySQL monitoring into Zabbix which involves selecting a range of time.
I need to be able to get the time a user is pointing to. That is, given an x-position on the generated image, I need the specific time represented.
See the attached chart. I need to be able to programmatically determine the start time and end time of the range between the two vertical red bars.
Does the graph class already contain such a function?
If it does not, all I really need is a way to determine the exact x-value of the beginning and end of the graph, as well as the time for the beginning and end.
graph.inc.php does not appear to be commented much, so I'm finding it rather difficult to find what I'm looking for (especially when I'm not exactly sure what I'm looking for...)
Thanks for your help!!
Comment