Merge pull request #263 from prometheus/ui/negative-graph-values
Support negative graph values.
This commit is contained in:
commit
39a3e69779
|
@ -403,7 +403,8 @@ Prometheus.Graph.prototype.showGraph = function() {
|
|||
width: Math.max(self.graph.innerWidth(), 200),
|
||||
renderer: (self.stacked.is(":checked") ? "stack" : "line"),
|
||||
interpolation: "linear",
|
||||
series: self.data
|
||||
series: self.data,
|
||||
min: "auto",
|
||||
});
|
||||
|
||||
var xAxis = new Rickshaw.Graph.Axis.Time({ graph: self.rickshawGraph });
|
||||
|
|
Loading…
Reference in New Issue