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