X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=dygraph-options-reference.js;h=91108799351659d18df17e4c33b2d8f57b68d733;hb=600da35ccf7fda98f16ba16037c80451ebca9cf5;hp=5aa7f05fab3a430a7017bc371520779d7ccad3b8;hpb=e9a32469f3fb0fa4438993d5c46e046b07488bec;p=dygraphs.git diff --git a/dygraph-options-reference.js b/dygraph-options-reference.js index 5aa7f05..9110879 100644 --- a/dygraph-options-reference.js +++ b/dygraph-options-reference.js @@ -759,6 +759,12 @@ 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"], + "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." } } ; // @@ -787,6 +793,7 @@ Dygraph.OPTIONS_REFERENCE = // 'Legend', 'Overall display', 'Rolling Averages', + 'Series', 'Value display/formatting', 'Zooming', 'Debugging',