c3js / c3js/c3

Cannot pan on y-axis when zoomed and rotated=true

Open
#2,799 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
9.3k
Forks
1.4k
Avg merge
6d 16h
Merged PRs (30d)
1

Description

Hi All,
in `rotated=true` charts, when you zoom (using type `zoom.type=scroll`, because `zoom.type=drag` doesn't work ) you cannot pan on the `y-axis` to see the others values.

Check the following jsfiddle:
https://jsfiddle.net/yeo0rkwx/
(zoom using the scroll-wheel then drag vertically: the chart won't move, while doing the same when `rotated=false` works for the x-axis).

* **C3 version**: 0.7.18
* **D3 version**: 5.9.2
* **Browser**: Chrome 83.0.4103.116, Firefox 77.0.1
* **OS**: Windows 10

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.