projects
/
dygraphs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Options now include defaults. Fix https://code.google.com/p/dygraphs/issues/detail...
[dygraphs.git]
/
experimental
/
palette
/
options.js
diff --git
a/experimental/palette/options.js
b/experimental/palette/options.js
index
4586d5b
..
7d15670
100644
(file)
--- a/
experimental/palette/options.js
+++ b/
experimental/palette/options.js
@@
-37,6
+37,10
@@
* it's an array with possible values global|series|x|y|y2|highlight.
*/
var opts = {
* it's an array with possible values global|series|x|y|y2|highlight.
*/
var opts = {
+ // These two exist, but are not used by the palette at all.
+ series : { type : null, scope : [] },
+ axes : { type : null, scope : [] },
+
animatedZooms : {
type : "boolean"
},
animatedZooms : {
type : "boolean"
},
@@
-174,7
+178,8
@@
var opts = {
type : "function(event, x, points,row)"
},
highlightCircleSize : {
type : "function(event, x, points,row)"
},
highlightCircleSize : {
- type : "int"
+ type : "int",
+ scope : [ "global", "series", "y", "y2" ]
},
includeZero : {
type : "boolean"
},
includeZero : {
type : "boolean"
@@
-265,16
+270,20
@@
var opts = {
type : "boolean"
},
strokeBorderColor : {
type : "boolean"
},
strokeBorderColor : {
- type : "string"
+ type : "string",
+ scope : [ "global", "series", "y", "y2" ]
},
strokeBorderWidth : {
},
strokeBorderWidth : {
- type : "float"
+ type : "float",
+ scope : [ "global", "series", "y", "y2" ]
},
strokePattern : {
},
strokePattern : {
- type : "array<integer>"
+ type : "array<int>",
+ scope : [ "global", "series", "y", "y2" ]
},
strokeWidth : {
},
strokeWidth : {
- type : "integer"
+ type : "float",
+ scope : [ "global", "series", "y", "y2" ]
},
timingName : {
type : "string"
},
timingName : {
type : "string"
@@
-329,6
+338,6
@@
var opts = {
},
zoomCallback : {
type : "function(minDate, maxDate, yRanges)"
},
zoomCallback : {
type : "function(minDate, maxDate, yRanges)"
- }
,
+ }
};
};