Fix for issue #77 - keep preferredSize constant

It seems that the "resizing loop" is created by returning a non-constant dimension by `getPreferredSize()`.  The chart still scales to the horizontally available space with `BoxLayout.Y_AXIS` as I would expect it to do.

I haven't run the tests though...