Speed up renerding of stacked graph by avoiding the loop in
[dygraphs.git] / dygraph-internal.externs.js
... / ...
CommitLineData
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 */
9function printStackTrace(dict) {}
10
11
12/**
13 * @constructor
14 */
15function G_vmlCanvasManager() {}
16
17/**
18 * @param {!HTMLCanvasElement} canvas
19 */
20G_vmlCanvasManager.initElement = function(canvas) {};
21
22// For IE
23/**
24 * @param {string} type
25 * @param {Object} fn
26 */
27Element.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 */
38var AxisLabelFormatter;
39
40
41/**
42 * @typedef {function(number,function(string),Dygraph):string}
43 */
44var ValueFormatter;
45
46
47/**
48 * @typedef {Array.<Array.<string|number|Array.<number>>>}
49 */
50var DygraphDataArray;
51
52/**
53 * @constructor
54 */
55function GVizDataTable() {}