Skip to content

Overhaul zoomable behavior #253

@sclevine

Description

@sclevine

See: https://github.com/NickQiZhu/dc.js/wiki/Zoom-Behaviors-Combined-with-Brush-and-Range-Chart

Original Issue:

Steps to reproduce:

  1. Load http://nickqizhu.github.io/dc.js/
  2. Select a range using the range chart below the graph titled "Monthly Index Abs Move & Volume/500,000 Chart"
  3. Attempt to pan the graph by clicking and dragging it

Expected:
The graph should pan normally.

Observed behavior:
See screenshot below. I've tested this using both Firefox 23.0.1 and Chrome 29.0.1547.57 on OS X 10.8.4.

If a range is selected by zooming in using the mouse wheel (to the same effect as selecting a range using the range chart), panning does not appear to be broken.

graph-drag-bug

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions