Important Notice - Forums is archived
To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Vaadin-Charts width in table
Hi,
how can i get the chart gain the full width in table?
When i create the chart in container property CssLayout wrapping the chart does not gain the full width.
I need to resize the column in which the chart is located!
Can you describe in a bit more detail what you are trying to do? Are you trying to show a Vaadin Chart in a Table Cell? Are you using Table or Grid? What chart are you trying to show?
Hey Marcus,
i am trying to display a vaadin chart in a tree table cell. It should show the runtime of jobs as a gantt-chart.
it works quite well except the initial size of the chart.
The type of the chart is COLUMNRANGE.
I am trying collapsing the column... but until now not working...
If you're just using the TreeTable to collapse/uncollapse the chart, I would suggest that you look into using Grid with a DetailsRow https://vaadin.com/wiki?p_p_id=36&p_p_lifecycle=0&p_p_state=normal&p_p_mode=view&_36_struts_action=%2Fwiki%2Fview&_36_pageResourcePrimKey=9970154&p_r_p_185834411_nodeName=vaadin.com+wiki&p_r_p_185834411_title=Showing+extra+data+for+Grid+rows
i tried collapsing the column so it gets the full width of the cell which is 100% but its not working. when i manually (mouse drag drop) resize the column the chart in the cell gets full width size.
Well this is a key feature, would be awesome when i can get any hints...