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