Add warning that perhaps we do need an options API that gives non-default values.
authorRobert Konigsberg <konigsberg@gmail.com>
Tue, 1 Jan 2013 20:24:28 +0000 (15:24 -0500)
committerRobert Konigsberg <konigsberg@gmail.com>
Tue, 1 Jan 2013 20:24:28 +0000 (15:24 -0500)
plugins/axes.js

index 3c0b015..02f621f 100644 (file)
@@ -57,6 +57,9 @@ axes.prototype.layout = function(e) {
 
   if (g.getOption('drawXAxis')) {
     var h;
+    // NOTE: I think this is probably broken now, since g.getOption() now
+    // hits the dictionary. (That is, g.getOption('xAxisHeight') now always
+    // has a value.)
     if (g.getOption('xAxisHeight')) {
       h = g.getOption('xAxisHeight');
     } else {