+ var graph = document.getElementById("graph");
+ var g = new Dygraph(graph, ZERO_TO_FIFTY, opts);
+ var htx = g.hidden_ctx_;
+
+ var lines = CanvasAssertions.getLinesDrawn(htx, {
+ strokeStyle: "#008080",
+ lineWidth: 1
+ });
+ assert.equal(1, lines.length);
+ g.destroy(); // to balance context saves and destroys.
+ CanvasAssertions.assertBalancedSaveRestore(htx);
+});
+
+it('testDrawWithAxis', function() {