X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=auto_tests%2Ftests%2Fmultiple_axes.js;h=d08ff50ce9d13196b17e467e7c59a0a541caf2fd;hb=45a8c16f0f004c4513d2127553d1a2cb2502f282;hp=7b52c4c33e1941e1e0ca1bfb1ae72559eb06b358;hpb=5b8095ec3b4e4119c06cf511291dfae95cc7cf6f;p=dygraphs.git 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: { }