X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=experimental%2Fpalette%2Foptions.js;h=c91439d147896ac6e49f96188f498746911902fe;hb=775146792861ea30657f1f2b683ef8011bd5f4d7;hp=c1c17f3bf8d92ffa6a70d8ca0c8f578935da83c0;hpb=0193e7efb2dec61f5bbfdce8e355babe87b7001f;p=dygraphs.git diff --git a/experimental/palette/options.js b/experimental/palette/options.js index c1c17f3..c91439d 100644 --- a/experimental/palette/options.js +++ b/experimental/palette/options.js @@ -34,9 +34,13 @@ * boolean|string|float|int|array|array|array|array * or function(parameter list) * scope: if empty, then available in global scope only. Otherwise, - * it's an array with possible values global|series|x|y|y2. + * 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" }, @@ -55,6 +59,10 @@ var opts = { avoidMinZero : { type : "boolean" }, + axis : { + type : "string", + scope : [ "series" ] + }, axisLabelColor : { type : "string", // scope : [ "x", "y", "y2" ] @@ -174,7 +182,8 @@ var opts = { type : "function(event, x, points,row)" }, highlightCircleSize : { - type : "int" + type : "int", + scope : [ "global", "series", "y", "y2" ] }, includeZero : { type : "boolean" @@ -265,16 +274,20 @@ var opts = { type : "boolean" }, strokeBorderColor : { - type : "string" + type : "string", + scope : [ "global", "series", "y", "y2" ] }, strokeBorderWidth : { - type : "float" + type : "float", + scope : [ "global", "series", "y", "y2" ] }, strokePattern : { - type : "array" + type : "array", + scope : [ "global", "series", "y", "y2" ] }, strokeWidth : { - type : "integer" + type : "float", + scope : [ "global", "series", "y", "y2" ] }, timingName : { type : "string" @@ -329,6 +342,6 @@ var opts = { }, zoomCallback : { type : "function(minDate, maxDate, yRanges)" - }, + } };