I am using a ChartPanel
from JFreeChart (1.0.14) to display some plots. The Layout is handled by MigLayout and all works well. However, I have strange behaviour from time to time. The minimal size of the panel changes sometimes when the plots change. I am not setting it in my code but leave everything to MigLayout.
Unfortunately I am unable to reproduce this behaviour in an SSCCE, especially the first S. But in my application it also occurs when I am just changing the renderer to display a thicker line for one of the XYSeries
.
So my question:
- Is it possible that the layout parameters are changed within the code of JFreeChart depending on the displayed content?
- If so, is it possible to turn off this behaviour? Because I don't want anything else than MigLayout to lay hands on the layout parameters...