X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=dygraph-options-reference.js;h=32c91e8a30cb1ff1e15862d3927d51fe23877b59;hb=38f280e5004391d7baf23f355f62799da03b0598;hp=e39c07363cc275b0b0749e76b0dfb81bf34be060;hpb=38e3d209effd6f9a3e49d993719808006d9d2ada;p=dygraphs.git diff --git a/dygraph-options-reference.js b/dygraph-options-reference.js index e39c073..32c91e8 100644 --- a/dygraph-options-reference.js +++ b/dygraph-options-reference.js @@ -396,7 +396,7 @@ Dygraph.OPTIONS_REFERENCE = // "default": "false", "labels": ["Data Line display"], "type": "boolean", - "description": "Should the area underneath the graph be filled? This option is not compatible with error bars." + "description": "Should the area underneath the graph be filled? This option is not compatible with error bars. This may be set on a per-series basis." }, "highlightCircleSize": { "default": "3", @@ -760,6 +760,12 @@ Dygraph.OPTIONS_REFERENCE = // "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"], + "type": "Object", + "description": "Defines per-series options. Its keys match the y-axis label names, and the values are dictionaries themselves that contain options specific to that series. When this option is missing, it falls back on the old-style of per-series options comingled with global options." + } } ; // // NOTE: in addition to parsing as JS, this snippet is expected to be valid