Commit 43b844fb by yamakatu

modify the function so that does not show 0, when two or more lines are drawn.

parent 678b96d4
...@@ -222,7 +222,9 @@ function (_, Interval) { ...@@ -222,7 +222,9 @@ function (_, Interval) {
var next, expected_next, prev, expected_prev; var next, expected_next, prev, expected_prev;
// add the current time // add the current time
result.push([ time, this._data[time] || 0 ]); if(this._data[time]){
result.push([ time, this._data[time]]);
}
return result; return result;
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment