Merge pull request #673 from danvk/track-code-size
[dygraphs.git] / experimental / palette / options.js
index c26e990..1a3b231 100644 (file)
@@ -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<integer>",
+    type : "array<int>",
     scope : [ "global", "series", "y", "y2" ]
   },
   strokeWidth : {
-    type : "integer",
+    type : "float",
     scope : [ "global", "series", "y", "y2" ]
   },
   timingName : {