Is it possbile to optionally draw vertical line at current time?

Asked by Pavel Shirshov

It may be very nasty feature to show current time on graphs

Question information

Language:
English Edit question
Status:
Answered
For:
Graphite Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Michael Leinartas (mleinartas) said :
#1

I think this could be implemented pretty easy with a function, though I'm not quite sure how useful it'd actually be. With relative time periods the current time is always the rightmost edge of the graph. With a set time period (say, today midnight until tomorrow midnight) the current time is where the drawn lines stop. In the latter case, sparsely populated data could perhaps benefit..

If you do think this'd be useful despite the above, create a bug from this question (there's a button to do so) and mark it as a feature request. Also feel free to submit a patch (the existing timeFunction and drawAsInfinite should get you started as far as examples).

Can you help with this problem?

Provide an answer of your own, or ask Pavel Shirshov for more information if necessary.

To post a message you must log in.