2
votes

How do i close the padding between chart title and the chart. See image attached Gap Between Chart title and the chart is to large.

1
We need to see some code to try to figure out what is going on (please) :) - Ethan

1 Answers

0
votes

I would suggest placing the chart into a BoxLayout.Y_AXIS instead of what I assume is the center of a BorderLayout. The center of the BorderLayout stretches to take up available space and the chart aligns to the center. The box layout will give the chart the full width and its preferred height.