Add the startPan(), movePan(), and endPan() functions to the externs file. These functions are commonly used when defining custom interaction models and must be defined in order to satisfy the closure compiler.
/** @type {function(): string} */
Dygraph.toString;
+/** @type {function(Event, Dygraph, DygraphInteractionContext)} */
+Dygraph.startPan;
+
+/** @type {function(Event, Dygraph, DygraphInteractionContext)} */
+Dygraph.movePan;
+
+/** @type {function(Event, Dygraph, DygraphInteractionContext)} */
+Dygraph.endPan;
+
/** @type {function(?string): boolean} */
Dygraph.prototype.isZoomed;