forked from danvk/dygraphs
-
Notifications
You must be signed in to change notification settings - Fork 1
/
dygraph-types.js
46 lines (43 loc) · 1.08 KB
/
dygraph-types.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
/**
* @license
* Copyright 2006 Dan Vanderkam ([email protected])
* MIT-licensed (http://opensource.org/licenses/MIT)
*/
// This file contains typedefs and externs that are needed by the Closure Compiler.
/**
* @typedef {{
* px: number,
* py: number,
* isZooming: boolean,
* isPanning: boolean,
* is2DPan: boolean,
* cancelNextDblclick: boolean,
* initializeMouseDown:
* function(!Event, !Dygraph, !DygraphInteractionContext)
* }}
*/
var DygraphInteractionContext;
/**
* Point structure.
*
* xval_* and yval_* are the original unscaled data values,
* while x_* and y_* are scaled to the range (0.0-1.0) for plotting.
* yval_stacked is the cumulative Y value used for stacking graphs,
* and bottom/top/minus/plus are used for error bar graphs.
*
* @typedef {{
* idx: number,
* name: string,
* x: ?number,
* xval: ?number,
* y_bottom: ?number,
* y: ?number,
* y_stacked: ?number,
* y_top: ?number,
* yval_minus: ?number,
* yval: ?number,
* yval_plus: ?number,
* yval_stacked
* }}
*/
Dygraph.PointType;