X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;ds=sidebyside;f=dygraph.js;h=f90f4612314b50dd7410a61b95d80293d1dc11ef;hb=41ee764f8a4eca14b72c66116b6cca0084b82b77;hp=ff05507fa702505db1fd0cbdf910958a96879613;hpb=26ee26180c1d26cee046e33bc2f442c5deb616e7;p=dygraphs.git diff --git a/dygraph.js b/dygraph.js index ff05507..f90f461 100644 --- a/dygraph.js +++ b/dygraph.js @@ -2969,6 +2969,9 @@ Dygraph.prototype.size = function() { /** * Update the list of annotations and redraw the chart. + * See dygraphs.com/annotations.html for more info on how to use annotations. + * @param ann {Array} An array of annotation objects. + * @param suppressDraw {Boolean} Set to "true" to block chart redraw (optional). */ Dygraph.prototype.setAnnotations = function(ann, suppressDraw) { // Only add the annotation CSS rule once we know it will be used.