testDrawHighlightPointCallback won't pass when the tests change because it requires...
authorRobert Konigsberg <konigsberg@google.com>
Fri, 16 Nov 2012 00:25:00 +0000 (18:25 -0600)
committerRobert Konigsberg <konigsberg@google.com>
Fri, 16 Nov 2012 00:25:00 +0000 (18:25 -0600)
auto_tests/tests/multiple_axes.js

index 3644e65..7b52c4c 100644 (file)
@@ -330,42 +330,3 @@ MultipleAxesTestCase.prototype.testDrawPointCallback = function() {
   assertEquals(1, results.y2["Y3"]);
   assertEquals(1, results.y2["Y4"]);
 };
-
-MultipleAxesTestCase.prototype.testDrawHighlightPointCallback = function() {
-  var data = MultipleAxesTestCase.getData();
-
-  var results = { y : {}, y2 : {}};
-  var firstCallback = function(g, seriesName) {
-    results.y[seriesName] = 1; 
-  };
-  var secondCallback = function(g, seriesName) {
-    results.y2[seriesName] = 1; 
-  };
-
-  g = new Dygraph(
-    document.getElementById("graph"),
-    data,
-    {
-      labels: [ 'Date', 'Y1', 'Y2', 'Y3', 'Y4' ],
-      drawPoints : true,
-      'Y3': {
-        axis: {
-        }
-      },
-      'Y4': {
-        axis: 'Y3'  // use the same y-axis as series Y3
-      },
-      axes: {
-        y2: {
-          drawHighlightPointCallback: secondCallback
-        }
-      },
-      drawHighlightPointCallback: firstCallback
-    }
-  );
-
-  assertEquals(1, results.y["Y1"]);
-  assertEquals(1, results.y["Y2"]);
-  assertEquals(1, results.y2["Y3"]);
-  assertEquals(1, results.y2["Y4"]);
-};