How do I remove white border around chart-panel?

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
stijn
Posts: 1
Joined: Wed Jan 31, 2018 11:49 am
antibot: No, of course not.

How do I remove white border around chart-panel?

Post by stijn » Wed Jan 31, 2018 11:54 am

Hi,

I have a white border around my chart. See the screenshot: https://imgur.com/ozhCre4.
I tried using

Code: Select all

plot.setOutlineVisible(false);
and did remove the black border around the frame, but the white border is still visible.
How do I remove this?

Best,
Stijn

John Matthews
Posts: 513
Joined: Wed Sep 12, 2007 3:18 pm

Re: How do I remove white border around chart-panel?

Post by John Matthews » Wed Jan 31, 2018 7:15 pm

Out of context, this looks like a layout issue in the surrounding container. A complete example might clarify.

Locked