mirror of
https://github.com/grafana/grafana.git
synced 2026-07-30 08:18:10 -05:00
modify the function so that does not show 0, when two or more lines are drawn.
This commit is contained in:
@@ -222,7 +222,9 @@ function (_, Interval) {
|
||||
var next, expected_next, prev, expected_prev;
|
||||
|
||||
// add the current time
|
||||
result.push([ time, this._data[time] || 0 ]);
|
||||
if(this._data[time]){
|
||||
result.push([ time, this._data[time]]);
|
||||
}
|
||||
|
||||
return result;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user