setAnnotations method

void setAnnotations(
  1. List<DygraphAnnotation> annotations, [
  2. bool? suppressDraw
])

Update the list of annotations and redraw the chart. See dygraphs.com/annotations.html for more info on how to use annotations.

Implementation

external void setAnnotations(
  List<DygraphAnnotation> annotations, [
  bool? suppressDraw,
]);