11f867490c6f4e3f81a5dd6cf5e2ee802f6c9816
1 // TODO(danvk): move the Dygraph definitions out of here once I closure-ify dygraphs.js
3 * @param {!HTMLDivElement|string} div
4 * @param {DygraphDataArray|
7 * function():(DygraphDataArray|GVizDataTable|string)} file
8 * @param {Object} attrs
11 function Dygraph(div
, file
, attrs
) {}
19 /** @type {function(): string} */
22 /** @type {function(Event, Dygraph, DygraphInteractionContext)} */
25 /** @type {function(Event, Dygraph, DygraphInteractionContext)} */
28 /** @type {function(Event, Dygraph, DygraphInteractionContext)} */
31 /** @type {function(?string): boolean} */
32 Dygraph
.prototype.isZoomed
;
34 /** @type {function(): string} */
35 Dygraph
.prototype.toString
;
37 /** @type {function(string, string)} */
38 Dygraph
.prototype.getOption
;
40 /** @type {function(): number} */
41 Dygraph
.prototype.rollPeriod
;
43 /** @type {function(): ?Array.<number>} */
44 Dygraph
.prototype.xAxisRange
;
46 /** @type {function(): Array.<number>} */
47 Dygraph
.prototype.xAxisExtremes
;
49 /** @type {function(number): ?Array.<number>} */
50 Dygraph
.prototype.yAxisRange
;
52 /** @type {function(): Array.<Array.<number>>} */
53 Dygraph
.prototype.yAxisRanges
;
55 /** @type {function(?number, ?number, ?number): Array.<?number>} */
56 Dygraph
.prototype.toDomCoords
58 /** @type {function(?number): ?number} */
59 Dygraph
.prototype.toDomXCoord
;
61 /** @type {function(?number, ?number): ?number} */
62 Dygraph
.prototype.toDomYCoord
;
64 /** @type {function(?number, ?number, ?number): Array.<?number>} */
65 Dygraph
.prototype.toDataCoords
;
67 /** @type {function(?number): ?number} */
68 Dygraph
.prototype.toDataXCoord
;
70 /** @type {function(?number, ?number): ?number} */
71 Dygraph
.prototype.toDataYCoord
;
73 /** @type {function(?number, ?number): ?number} */
74 Dygraph
.prototype.toPercentYCoord
;
76 /** @type {function(?number): ?number} */
77 Dygraph
.prototype.toPercentXCoord
;
79 /** @type {function(): number} */
80 Dygraph
.prototype.numColumns
;
82 /** @type {function(): number} */
83 Dygraph
.prototype.numRows
;
85 /** @type {function(number, number)} */
86 Dygraph
.prototype.getValue
;
88 /** @type {function()} */
89 Dygraph
.prototype.destroy
;
91 /** @type {function()} */
92 Dygraph
.prototype.getColors
;
94 /** @type {function(string)} */
95 Dygraph
.prototype.getPropertiesForSeries
;
97 /** @type {function()} */
98 Dygraph
.prototype.resetZoom
;
100 /** @type {function(): {x, y, w, h}} */
101 Dygraph
.prototype.getArea
;
103 /** @type {function(Object): Array.<number>} */
104 Dygraph
.prototype.eventToDomCoords
;
106 /** @type {function(number, string, boolean): boolean} */
107 Dygraph
.prototype.setSelection
;
109 /** @type {function()} */
110 Dygraph
.prototype.clearSelection
;
112 /** @type {function(): number} */
113 Dygraph
.prototype.getSelection
;
115 /** @type {function(): string} */
116 Dygraph
.prototype.getHighlightSeries
;
118 /** @type {function(): boolean} */
119 Dygraph
.prototype.isSeriesLocked
;
121 /** @type {function(): number} */
122 Dygraph
.prototype.numAxes
;
124 /** @type {function(Object, Boolean=)} */
125 Dygraph
.prototype.updateOptions
;
127 /** @type {function(number, number)} */
128 Dygraph
.prototype.resize
;
130 /** @type {function(number)} */
131 Dygraph
.prototype.adjustRoll
;
133 /** @type {function(): Array.<boolean>} */
134 Dygraph
.prototype.visibility
;
136 /** @type {function(number, boolean)} */
137 Dygraph
.prototype.setVisibility
;
139 /** @type {function(Array.<Object>, boolean)} */
140 Dygraph
.prototype.setAnnotations
;
142 /** @type {function(): Array.<Object>} */
143 Dygraph
.prototype.annotations
;
145 /** @type {function(): ?Array.<string>} */
146 Dygraph
.prototype.getLabels
;
148 /** @type {function(string): ?number} */
149 Dygraph
.prototype.indexFromSetName
;
151 /** @type {function(function(!Dygraph))} */
152 Dygraph
.prototype.ready
;