UnderlayCallbackFunc typedef

UnderlayCallbackFunc = void Function(dynamic context, DygraphArea area, Dygraph dygraph, Dygraph dygraphDeprecated)

Implementation

typedef UnderlayCallbackFunc = void Function(
  // the canvas drawing context on which to draw
  dynamic context,
  // an object with {x,y,w,h} properties describing the drawing area
  DygraphArea area,
  // the reference graph
  Dygraph dygraph,
  // the reference graph (passed again for bc; see https://github.com/danvk/dygraphs/blob/da2a028fc41e5573868358b3d9eda9826211d217/src/dygraph.js#L2327)
  Dygraph dygraphDeprecated,
);