c3js / c3

:bar_chart: A D3-based reusable chart library
http://c3js.org
MIT License
9.34k stars 1.39k forks source link

Render issue when interrupting render with another render #2673

Open Venefilyn opened 5 years ago

Venefilyn commented 5 years ago

Whenever data is being loaded and another load happens before the previous one finishes, there will be some render issues. This is most prevalent when unloading when loading new data

Example: The purple line in this image is before the update. Hovering over the line will not cause the tooltip to appear image

Hovering over where it should be: image

CodeSandbox where I've been able to reproduce it. Here the data2 should end up at 400, but don't change: https://codesandbox.io/s/modest-thunder-xh7bx?fontsize=14

Venefilyn commented 5 years ago

Reduced transition.delay to null, same issues

image

Venefilyn commented 5 years ago

@kt3k is there a way I can debug this further in the library to get this fixed?