X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=src%2Fdygraph-options-reference.js;fp=src%2Fdygraph-options-reference.js;h=5bc6524cccfebf27505a51f16ea5c154439c38d8;hb=77ad1333ba9d129938e6d03c063ada46ad1f98ab;hp=0f3ebfa1dcc760d01b475b5dcb45940e5dfe5ff0;hpb=b6126069a9e468e80a27edf7bdf20ef0ae20b4fb;p=dygraphs.git diff --git a/src/dygraph-options-reference.js b/src/dygraph-options-reference.js index 0f3ebfa..5bc6524 100644 --- a/src/dygraph-options-reference.js +++ b/src/dygraph-options-reference.js @@ -463,6 +463,12 @@ OPTIONS_REFERENCE = // "type": "string", "description": "When to display the legend. By default, it only appears when a user mouses over the chart. Set it to \"always\" to always display a legend of some sort. When set to \"follow\", legend follows highlighted points." }, + "legendFormatter": { + "default": "null", + "labels": ["Legend"], + "type": "function", + "description": "Set this to supply a custom formatter for the legend. See ..." + }, "labelsShowZeroValues": { "default": "true", "labels": ["Legend"],