Hi Nico Lehmann,
Try playing with the margin section in the chart. you need to add the code in the layout configuration.
if you are using any chart widget, you can add a layout option.
Check this link for reference: https://plotly.com/javascript/setting-graph-size/#adjusting-height-width-and-margins
Hope this helps!!