* This is a list of human-friendly values at which to show tick marks on a log
* scale. It is k * 10^n, where k=1..9 and n=-39..+39, so:
* ..., 1, 2, 3, 4, 5, ..., 9, 10, 20, 30, ..., 90, 100, 200, 300, ...
- * NOTE: this assumes that Dygraph.LOG_SCALE = 10.
+ * NOTE: this assumes that utils.LOG_SCALE = 10.
* @type {Array.<number>}
*/
var PREFERRED_LOG_TICK_VALUES = (function() {
}
return ticks;
};
-
-// These are set here so that this file can be included after dygraph.js
-// or independently.
-// if (Dygraph &&
-// Dygraph.DEFAULT_ATTRS &&
-// Dygraph.DEFAULT_ATTRS['axes'] &&
-// Dygraph.DEFAULT_ATTRS['axes']['x'] &&
-// Dygraph.DEFAULT_ATTRS['axes']['y'] &&
-// Dygraph.DEFAULT_ATTRS['axes']['y2']) {
-// Dygraph.DEFAULT_ATTRS['axes']['x']['ticker'] = Dygraph.dateTicker;
-// Dygraph.DEFAULT_ATTRS['axes']['y']['ticker'] = Dygraph.numericTicks;
-// Dygraph.DEFAULT_ATTRS['axes']['y2']['ticker'] = Dygraph.numericTicks;
-// }