X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=auto_tests%2Ftests%2Fcallback.js;h=6d3df1de66d6f175c17b862919311b1afe6ffa57;hb=72223c02efb7e8629bebb20e1be5ce5e880e70b7;hp=e2f425f03e6df3cc998905ae04db75b85050fc39;hpb=41273327c7eb2aaa777194f48516e69784aef7f1;p=dygraphs.git diff --git a/auto_tests/tests/callback.js b/auto_tests/tests/callback.js index e2f425f..6d3df1d 100644 --- a/auto_tests/tests/callback.js +++ b/auto_tests/tests/callback.js @@ -152,11 +152,11 @@ CallbackTestCase.prototype.testDrawPointCallback_isolated = function() { assertEquals(13, xvalues[0]); assertEquals(15, xvalues[1]); - // Test that isolated points + gap points get drawn when drawGapPoints is set. - // This should add one point at the right edge of the segment at x=11, but not - // at the graph edge at x=10. + // Test that isolated points + gap points get drawn when + // drawGapEdgePoints is set. This should add one point at the right + // edge of the segment at x=11, but not at the graph edge at x=10. xvalues = []; // Reset for new test - graphOpts.drawGapPoints = true; + graphOpts.drawGapEdgePoints = true; g = new Dygraph(graph, testdata, graphOpts); assertEquals(3, xvalues.length); assertEquals(11, xvalues[0]);