Update IE instructions
[dygraphs.git] / dygraph-internal.externs.js
CommitLineData
21e45828
DV
1// This file:
2// - declares symbols that are provided outisde of dygraphs (e.g. by excanvas)
3// - defines custom types used internally
4
faa608cf
DV
5
6/**
7 * @constructor
8 */
9function G_vmlCanvasManager() {}
10
11/**
12 * @param {!HTMLCanvasElement} canvas
13 */
14G_vmlCanvasManager.initElement = function(canvas) {};
15
16// For IE
17/**
18 * @param {string} type
cb9a16cd 19 * @param {Function} fn
faa608cf
DV
20 */
21Element.prototype.detachEvent = function(type, fn) {};
22
23
24/**
25 * @typedef {function(
26 * (number|Date),
27 * number,
28 * function(string):*,
29 * (Dygraph|undefined)
30 * ):string}
31 */
32var AxisLabelFormatter;
33
34
35/**
36 * @typedef {function(number,function(string),Dygraph):string}
37 */
38var ValueFormatter;
39
40
41/**
42 * @typedef {Array.<Array.<string|number|Array.<number>>>}
43 */
44var DygraphDataArray;
45
46/**
47 * @constructor
48 */
49function GVizDataTable() {}