c3js / c3js/c3

Loading in new data may completely break the graph

Open
#2,679 1 comment 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

* **C3 version**: 0.7.3
* **D3 version**: 5.9.7
* **Browser**: Firefox 68
* **OS**: Fedora 30

Upon loading some data, then changing the dataset completely (with the same series data), it may render it completely unusable or render a dataset that doesn't exist (rendering a dataset that doesn't exist happens everytime when `unload` arg in load is set).

I have no idea what is causing it. Might be related to #2673

Some examples:

When graph is created: Displaying dataset 1
![image](https://user-images.githubusercontent.com/6598829/62864155-4156ac80-bd0b-11e9-8c32-e61b29ad51a9.png)

Switching from dataset 1 to dataset 2. Renders it completely unusable
![image](https://user-images.githubusercontent.com/6598829/62864202-5af7f400-bd0b-11e9-84ff-84dcbec82fe2.png)

When graph is created: Displaying dataset 2
![image](https://user-images.githubusercontent.com/6598829/62864352-c5109900-bd0b-11e9-84ed-61079af25bfa.png)

Switching from dataset 2 to dataset 1
![image](https://user-images.githubusercontent.com/6598829/62864339-b7f3aa00-bd0b-11e9-9cd2-800edeb34fcb.png)

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.