Styling a caption for a Vaadin enhancedGrid

Viewed 39

I am working with a page that has a collection of charts with titles and now we have to add in a grid alongside the charts. I need to add a title to the grid that matches the others, currently I am using the setCaption to do this and passing it in as HTML with some styling. The caption pushes down the chart and is messing with the alignment of the charts.

What is the best option to make the chart not take up it's full position so the title fits?

I tried altering the position to absolute and relative and that did not work only made the caption to be hidden.

0 Answers
Related