projects
/
dygraphs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add nice little things to the in-browser test runner.
[dygraphs.git]
/
dygraph-options.js
diff --git
a/dygraph-options.js
b/dygraph-options.js
index
334b2f6
..
0f90086
100644
(file)
--- a/
dygraph-options.js
+++ b/
dygraph-options.js
@@
-36,7
+36,7
@@
var DygraphOptions = (function() {
var DygraphOptions = function(dygraph) {
/**
* The dygraph.
var DygraphOptions = function(dygraph) {
/**
* The dygraph.
- * @type {Dygraph}
+ * @type {
!
Dygraph}
*/
this.dygraph_ = dygraph;
*/
this.dygraph_ = dygraph;
@@
-47,8
+47,10
@@
var DygraphOptions = function(dygraph) {
this.yAxes_ = [];
/**
this.yAxes_ = [];
/**
- * { options : { axis-specific options. } }
- * @type {Object} @private
+ * Contains x-axis specific options, which are stored in the options key.
+ * This matches the yAxes_ object structure (by being a dictionary with an
+ * options element) allowing for shared code.
+ * @type {options: Object} @private
*/
this.xAxis_ = {};
this.series_ = {};
*/
this.xAxis_ = {};
this.series_ = {};
@@
-71,7
+73,7
@@
var DygraphOptions = function(dygraph) {
* Not optimal, but does the trick when you're only using two axes.
* If we move to more axes, this can just become a function.
*
* Not optimal, but does the trick when you're only using two axes.
* If we move to more axes, this can just become a function.
*
- * @type {Object.<
string,
number>}
+ * @type {Object.<number>}
* @private
*/
DygraphOptions.AXIS_STRING_MAPPINGS_ = {
* @private
*/
DygraphOptions.AXIS_STRING_MAPPINGS_ = {