X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=tests%2Flinear-regression.html;h=03c95c23b4b870da173a1efb48b2490924a733cf;hb=8b8f2d59d79021d19cf870f159aab2d8aee54fed;hp=bed74e0c6c155606a43fd03a998c6432fd9c40e9;hpb=34bbe78bab0cfe4a986802aa2e3dc5edbcc55c35;p=dygraphs.git diff --git a/tests/linear-regression.html b/tests/linear-regression.html index bed74e0..03c95c2 100644 --- a/tests/linear-regression.html +++ b/tests/linear-regression.html @@ -35,7 +35,8 @@ { 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]; - if (console) { + if (typeof(console) != 'undefined') { console.log("coeffs(" + series + "): [" + b + ", " + a + "]"); }