X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;ds=sidebyside;f=dygraph-options-reference.js;h=df19c7d67e4336de05fb845352b42acd3ec8a4b4;hb=d91ba598b82c927945744c7041dc05500b5545b3;hp=abdb0156d997d7dae4775a60d2f9afc9b372e10d;hpb=cf8c87d4c4d46946071c30453bdcedcb1dd8f9d7;p=dygraphs.git diff --git a/dygraph-options-reference.js b/dygraph-options-reference.js index abdb015..df19c7d 100644 --- a/dygraph-options-reference.js +++ b/dygraph-options-reference.js @@ -748,6 +748,12 @@ Dygraph.OPTIONS_REFERENCE = // "type": "string", "description": "The range selector mini plot fill color. This can be of the form \"#AABBCC\" or \"rgb(255,100,200)\" or \"yellow\". You can also specify null or \"\" to turn off fill." }, + "xIsEpochDate": { + "default": "false", + "labels": ["CSV parsing"], + "type": "boolean", + "description": "When set the X axis is interpreted as Unix epoch date values." + }, "animatedZooms": { "default": "false", "labels": ["Interactive Elements"], @@ -770,7 +776,7 @@ Dygraph.OPTIONS_REFERENCE = // // Do a quick sanity check on the options reference. (function() { "use strict"; - var warn = function(msg) { if (console) console.warn(msg); }; + var warn = function(msg) { if (window.console) window.console.warn(msg); }; var flds = ['type', 'default', 'description']; var valid_cats = [ 'Annotations',