Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loading in new data may completely break the graph #2679

Open
SpyTec opened this issue Aug 12, 2019 · 1 comment
Open

Loading in new data may completely break the graph #2679

SpyTec opened this issue Aug 12, 2019 · 1 comment

Comments

@SpyTec
Copy link

SpyTec commented Aug 12, 2019

  • 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

Switching from dataset 1 to dataset 2. Renders it completely unusable
image

When graph is created: Displaying dataset 2
image

Switching from dataset 2 to dataset 1
image

@SpyTec
Copy link
Author

SpyTec commented Aug 13, 2019

Notice how switching from dataset 2 to 1 doesn't update the x-axis either (despite axis.x.categories being included in load()). The end-date is set first before the data is loaded in, but the data doesn't update correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant