X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=dygraph-options-reference.js;h=91108799351659d18df17e4c33b2d8f57b68d733;hb=b51816539797fc9fbd51840145200bfd34e76405;hp=32c91e8a30cb1ff1e15862d3927d51fe23877b59;hpb=38f280e5004391d7baf23f355f62799da03b0598;p=dygraphs.git diff --git a/dygraph-options-reference.js b/dygraph-options-reference.js index 32c91e8..9110879 100644 --- a/dygraph-options-reference.js +++ b/dygraph-options-reference.js @@ -759,7 +759,7 @@ Dygraph.OPTIONS_REFERENCE = // "labels": ["Data Line display"], "type": "array or function", "description": "A function (or array of functions) which plot each data series on the chart. TODO(danvk): more details! May be set per-series." - } + }, "series": { "default": "null", "labels": ["Series"], @@ -776,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', @@ -793,6 +793,7 @@ Dygraph.OPTIONS_REFERENCE = // 'Legend', 'Overall display', 'Rolling Averages', + 'Series', 'Value display/formatting', 'Zooming', 'Debugging',