X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=auto_tests%2Ftests%2Fsimple_drawing.js;h=ca1930191360a6f9450990c81806d6d272338e08;hb=1a27bd14b2938f17a3a9896d64645892a6b26a1e;hp=0b8f34efb22793c645720f0ecad084bfe79bf128;hpb=f8e02b3c7ea1ccbf567bbeda1ceaa959b769dd43;p=dygraphs.git diff --git a/auto_tests/tests/simple_drawing.js b/auto_tests/tests/simple_drawing.js index 0b8f34e..ca19301 100644 --- a/auto_tests/tests/simple_drawing.js +++ b/auto_tests/tests/simple_drawing.js @@ -1,4 +1,4 @@ -// Copyright (c) 2011 Google, Inc. +// Copyright (c) 2011 Google, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal @@ -49,9 +49,9 @@ SimpleDrawingTestCase.prototype.testDrawSimpleRangePlusOne = function() { var graph = document.getElementById("graph"); var g = new Dygraph(graph, ZERO_TO_FIFTY, opts); - var htx = g.hidden_ctx_; + htx = g.hidden_ctx_; - CanvasAssertions.assertLineDrawn(htx, [56,300], [475,5.8], { + CanvasAssertions.assertLineDrawn(htx, [0,320], [475,6.2745], { strokeStyle: "#008080", lineWidth: 1 });