mirror of
https://github.com/prometheus/prometheus
synced 2024-12-27 17:13:22 +00:00
Hovering over legend items highlights series in graph
This commit is contained in:
parent
564633ecbc
commit
a7ec43189a
@ -390,6 +390,11 @@ Prometheus.Graph.prototype.updateGraph = function(reloadGraph) {
|
||||
graph: self.rickshawGraph
|
||||
});
|
||||
|
||||
var highlighter = new Rickshaw.Graph.Behavior.Series.Highlight( {
|
||||
graph: self.rickshawGraph,
|
||||
legend: legend
|
||||
});
|
||||
|
||||
var shelving = new Rickshaw.Graph.Behavior.Series.Toggle({
|
||||
graph: self.rickshawGraph,
|
||||
legend: legend
|
||||
|
Loading…
Reference in New Issue
Block a user