🏠 back to Observable

did this become an ever expanding chart?


#1

Did something new happen to change the behavior of of charts determining browser size? I am using Chrome and the C3 port Mike did seems to be ever expanding:

… If you can’t see this, I wish I could record it for you… It’s bizarre.


#2

Funny! I see the same thing on Firefox.

Pinning the version of C3 to 0.6.10 fixes the issue for me. I suspect this commit is at fault.

Another workaround is to specify the size explicitly, as in this notebook:

The note at the end of the size.width doc entry seems relevant too.


#3

Thanks @bgchen. This is pretty fun stuff!


#4

Heh. I’ve added a default height (400px) to that notebook to workaround the issue.


#5

Thanks Mike!