endZoom static method

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

Called in response to an interaction model operation that responds to an event that performs a zoom based on previously defined bounds..

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

Implementation

external static void endZoom(
  // the event object which led to the endZoom 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,
);