X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=experimental%2Fpalette%2Foptions.js;h=7d1567051969e4727f4fd2a60a746a4d364ea88c;hb=d574a45ea4f06abe9b65be39a2ae4991f59257f3;hp=4586d5b6adb7853100d1b5757df5166f5bc966ff;hpb=fe631b38a1490b6573018e266f512bce0207d2ab;p=dygraphs.git diff --git a/experimental/palette/options.js b/experimental/palette/options.js index 4586d5b..7d15670 100644 --- 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 = { + // These two exist, but are not used by the palette at all. + series : { type : null, scope : [] }, + axes : { type : null, scope : [] }, + animatedZooms : { type : "boolean" }, @@ -174,7 +178,8 @@ var opts = { type : "function(event, x, points,row)" }, highlightCircleSize : { - type : "int" + type : "int", + scope : [ "global", "series", "y", "y2" ] }, includeZero : { type : "boolean" @@ -265,16 +270,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 +338,6 @@ var opts = { }, zoomCallback : { type : "function(minDate, maxDate, yRanges)" - }, + } };