From 121e43ff208cd35674839ef6820e19d7a337c1b5 Mon Sep 17 00:00:00 2001 From: Robert Konigsberg Date: Thu, 15 Nov 2012 18:36:48 -0600 Subject: [PATCH] Added actual drawing to test for visual cue. --- auto_tests/tests/multiple_axes.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/auto_tests/tests/multiple_axes.js b/auto_tests/tests/multiple_axes.js index 7b52c4c..d08ff50 100644 --- a/auto_tests/tests/multiple_axes.js +++ b/auto_tests/tests/multiple_axes.js @@ -296,11 +296,14 @@ MultipleAxesTestCase.prototype.testDrawPointCallback = function() { var data = MultipleAxesTestCase.getData(); var results = { y : {}, y2 : {}}; - var firstCallback = function(g, seriesName) { + var firstCallback = function(g, seriesName, ctx, canvasx, canvasy, color, radius) { results.y[seriesName] = 1; + Dygraph.Circles.DEFAULT(g, seriesName, ctx, canvasx, canvasy, color, radius); + }; - var secondCallback = function(g, seriesName) { + var secondCallback = function(g, seriesName, ctx, canvasx, canvasy, color, radius) { results.y2[seriesName] = 1; + Dygraph.Circles.TRIANGLE(g, seriesName, ctx, canvasx, canvasy, color, radius); }; g = new Dygraph( @@ -309,6 +312,7 @@ MultipleAxesTestCase.prototype.testDrawPointCallback = function() { { labels: [ 'Date', 'Y1', 'Y2', 'Y3', 'Y4' ], drawPoints : true, + pointSize : 3, 'Y3': { axis: { } -- 2.7.4