Hi, David!
No, it's not a bug.
When you create an element that is hidden and initialize chart on that element, the chart is still created when that element is hidden. Chart tries to fit inside it's parent element if you don't set fixed width for chart (e.g. area: {width: 300px}
). A hidden element has no width and so minimum width (50px) is set.
When you unhide the element, then width is present and accessible. So you also have to let chart know that it must update it's size.
You can do that by calling updateSize()
method.
Here is an example based on your jsFiddle code:
http://jsfiddle.net/6dfyxuga/2/
Please note that it has nothing to do with "float:left".