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