How to fix ChartJS overflow

Hello,

I have a chart (ChartJS) which is displayed correctly in the editor. It fits into the container without overflow.

However when I publish and look on the live url, the chart element is always overflowing the parent container. I have tried different sizing settings but I can’t get it right.

In the chart’s sizing settings the height and width are set to 100%.

Here are some screenshots of what it looks like on the live url:

Does anyone know how I can make sure this ChartJS element does not get bigger than the parent container?

Thank you!

Hey @sampannemans !

Sorry for the late reply!
Can you try wrapping your chart in another container, both with height at 100%?

Like:
container (your personal sizing) > container (100% height) > chart (100% height)