c3js / c3

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

Regions don't get updated while you resize the chart #2800

Open Fly06-Fr opened 4 years ago

Fly06-Fr commented 4 years ago

Hi There, We have recently upgraded c3 from v0.4.11 to v0.7.18 to take advantage of the multilineMax option which does not work with the older version. Unfortunately, we also noticed a regression regarding regions. When we display the full size version of the chart every parts of it is resized appropriately except the regions. Any ideas welcome.

C3 : v0.7.18 D3 : v5 Browser : v77.0.1 OS: Ubuntu 18.04.4 LTS

dao-phuong commented 4 years ago

I meet the same problem

nbevans commented 4 years ago

Same here. Also if toggling data series on/off via clicking on the legend, the regions do not re-scale themselves. From what I can see, regions as a feature are completely broken and unusable. Fortunately there is the "lines" feature instead which works okay.