X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=experimental%2Fpalette%2Foptions.js;h=1a3b231f922c7da4290271cb39ca8518e1f81b03;hb=a4c3ece0a11e4e5c4f1f51a8bc8b7878d34ee052;hp=c26e9900f6d6c9dd97250f390ec017b0531a8802;hpb=f4463776380ee90f90bb95b156e758775669c106;p=dygraphs.git diff --git a/experimental/palette/options.js b/experimental/palette/options.js index c26e990..1a3b231 100644 --- a/experimental/palette/options.js +++ b/experimental/palette/options.js @@ -59,13 +59,17 @@ var opts = { avoidMinZero : { type : "boolean" }, + axis : { + type : "string", + scope : [ "series" ] + }, axisLabelColor : { type : "string", - // scope : [ "x", "y", "y2" ] + scope : [ "global", "x", "y", "y2" ] }, axisLabelFontSize : { type : "int", - // scope : [ "x", "y", "y2" ] + scope : [ "global", "x", "y", "y2" ] }, axisLabelFormatter : { type : "function(numberOrDate, granularity, opts, dygraph)", @@ -73,19 +77,19 @@ var opts = { }, axisLabelWidth : { type : "int", - // scope : [ "x", "y", "y2" ] + // scope : [ "global", "x", "y", "y2" ] }, axisLineColor : { type : "string", - // scope : [ "x", "y", "y2" ] + scope : [ "global", "x", "y", "y2" ] }, axisLineWidth : { type : "int", - // scope : [ "x", "y", "y2" ] + scope : [ "global", "x", "y", "y2" ] }, axisTickSize : { type : "int", - // scope : [ "x", "y", "y2" ] + // scope : [ "global", "x", "y", "y2" ] }, clickCallback : { type : "function(e, x, points)" @@ -278,11 +282,11 @@ var opts = { 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 : {