X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=experimental%2Fpalette%2Foptions.js;h=1a3b231f922c7da4290271cb39ca8518e1f81b03;hb=b67b868cd8cab33adef1cc2967a3ad7566bbed18;hp=7d1567051969e4727f4fd2a60a746a4d364ea88c;hpb=9ccb0d6e22effd68675bf310da9e601df0fa00a3;p=dygraphs.git diff --git a/experimental/palette/options.js b/experimental/palette/options.js index 7d15670..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)"