3d92b0f32028b8ed8a169e601eae7118131ae4fa
2 * @fileoverview Test cases for the option "drawGapEdgePoints"
5 import Dygraph from
'../../src/dygraph';
6 import * as utils from
'../../src/dygraph-utils';
8 describe("draw-gap-edge-points", function() {
12 it("shouldn't draw any points by default", function() {
14 var g
= new Dygraph(document
.getElementById("graph"),
22 drawGapEdgePoints
: true,
23 drawPointCallback
: function() { called
= true; }});
25 assert
.isFalse(called
);
28 it("shouldn't draw any points by default (no axes)", function() {
30 var g
= new Dygraph(document
.getElementById("graph"),
38 drawGapEdgePoints
: true,
39 drawPointCallback
: function() { called
= true; },
41 x
: { drawAxis
: false },
42 y
: { drawAxis
: false }
45 assert
.isFalse(called
);