chart in layouts with width set

Hi, i use the charts addon. It breaks when i use a layout with width set to e.g. 100% in Internet Explorer.

// same behavior in other Layouts like CssLayout
horizontalLayout.addComponent(generateSampleChart());
horizontalLayout.setWidth(“100%”);

With FF: chart gets displayed and resized when browser will be resized. (as expected)
With IE: chart is not displayed, in debug mode you get an client side exception.

I asume this is a bug?

Hi,

Sorry to hear that’s happening, I did a quick test and wasn’t able to reproduce it.

Could you provide some info about what version of vaadin, vaadin charts and IE you are using? Also the detail of the client side exception would be useful, and if there is a server side stack trace that too.

Thanks!

Hi Guillermo,

it seems that the charts arent working when used within the nanoscroll-addon…