moveZoom static method

void moveZoom(
  1. Event e,
  2. Dygraph dygraph,
  3. DygraphDragContext context
)

Called in response to an interaction model operation that responds to an event that defines zoom boundaries.

It's used in the default callback for "mousemove" operations. Custom interaction model builders can use it to provide the default zooming behavior.

Implementation

external static void moveZoom(
  // the event object which led to the moveZoom call
  Event e,
  // the dygraph on which to act
  Dygraph dygraph,
  // the dragging context object (with dragStartX/dragStartY/etc. properties).
  // (this function modifies the context!!!)
  DygraphDragContext context,
);