X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=src%2Fdygraph-tickers.js;fp=src%2Fdygraph-tickers.js;h=f152bf9969bd6e6ead2166055a6f3e52a763bfe4;hb=2b66af4f76dcd72d22f5844cb7684f3cb79fde42;hp=31ae85240e91501647042400e69c2fa1c26e3e34;hpb=178b1e0a5023bd55b8636242623e7eb82ac12d5d;p=dygraphs.git diff --git a/src/dygraph-tickers.js b/src/dygraph-tickers.js index 31ae852..f152bf9 100644 --- a/src/dygraph-tickers.js +++ b/src/dygraph-tickers.js @@ -443,16 +443,3 @@ export var getDateAxis = function(start_time, end_time, granularity, opts, dg) { } 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; -// }