projects
/
dygraphs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed erroneous attempt to use excanvas.js in IE9
[dygraphs.git]
/
tests
/
linear-regression.html
diff --git
a/tests/linear-regression.html
b/tests/linear-regression.html
index
bed74e0
..
03c95c2
100644
(file)
--- a/
tests/linear-regression.html
+++ b/
tests/linear-regression.html
@@
-35,7
+35,8
@@
{
labels: ['X', 'Y1', 'Y2'],
underlayCallback: drawLines,
{
labels: ['X', 'Y1', 'Y2'],
underlayCallback: drawLines,
- drawPoints: true
+ drawPoints: true,
+ strokeWidth: 0.0
}
);
}
);
@@
-66,7
+67,7
@@
var b = (sum_y - a * sum_x) / num;
coeffs[series] = [b, a];
var b = (sum_y - a * sum_x) / num;
coeffs[series] = [b, a];
- if (
console
) {
+ if (
typeof(console) != 'undefined'
) {
console.log("coeffs(" + series + "): [" + b + ", " + a + "]");
}
console.log("coeffs(" + series + "): [" + b + ", " + a + "]");
}