c3js / c3js/c3

Subchart resets zoom when `chart.subchart.show()` is called

Open
#2,792 0 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,
the function `subchart.show()` seems to reset the current zoom to the full domain.

Here's an attached jfiddle reproducing the issue: https://jsfiddle.net/a1t82cyn/3/

* **C3 version**: 0.7.15
* **D3 version**: 5.16.0
* **Browser**: Chrome 83.0.4103.61, Firefox 77.0.1
* **OS**: Windows 10

I think it might be related to the problem mentioned in this issue (still valid in version 0.7.15): https://github.com/c3js/c3/issues/2613

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.