projects
/
dygraphs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
make the options reference into valid JSON
[dygraphs.git]
/
tests
/
linear-regression-addseries.html
diff --git
a/tests/linear-regression-addseries.html
b/tests/linear-regression-addseries.html
index
2a746b5
..
3fd3a85
100644
(file)
--- a/
tests/linear-regression-addseries.html
+++ b/
tests/linear-regression-addseries.html
@@
-61,6
+61,10
@@
var y = data[i][series];
if (y == null) continue;
+ if (y.length == 2) {
+ // using fractions
+ y = y[0] / y[1];
+ }
num++;
sum_x += x;