Change color of same line based on different value?
Hello,
Say there is a graph with one trending line on it that covers a two hour relative time window. Is it possible to change the color of this line dynamically over time if it matches a particular threshold?
Would look something like:
If a value is between 80 and 100, the line of the color would be green for the time slice the value represents.
If a value is between 50 and 79, the line of the color would be yellow for the time slice the value represents.
If a value is between 0 and 49, the line of the color would be red for the time slice the value represents.
Thanks,
Adam
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Graphite Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Denis Zhdanov
- Solved:
- 2016-09-07
- Last query:
- 2016-09-07
- Last reply:
- 2016-09-07
|
#1 |
No, that's not possible. You can add horizontal lines as threshold lines using constantLine() function
apetr01 (adam-petrie) said : | #2 |
Ok, thanks. I new one could create horizontal lines as an alternative, but was curious if this was also possible.
apetr01 (adam-petrie) said : | #3 |
Thanks Denis Zhdanov, that solved my question.