DrawPointCallbackFunc typedef

DrawPointCallbackFunc = void Function(Dygraph dygraph, String seriesName, CanvasRenderingContext2D canvasContext, num cx, num cy, String color, num pointSize)

Implementation

typedef DrawPointCallbackFunc = void Function(
  // the reference graph
  Dygraph dygraph,
  // the name of the series
  String seriesName,
  // the canvas to draw on
  CanvasRenderingContext2D canvasContext,
  // center x coordinate
  num cx,
  // center y coordinate
  num cy,
  // series color
  String color,
  // the radius of the image
  num pointSize,
);