Customize size

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
tranphuc93
Posts: 3
Joined: Tue Aug 17, 2021 12:48 pm
antibot: No, of course not.
Contact:

Customize size

Post by tranphuc93 » Wed Sep 08, 2021 12:30 pm

Hi there,

I have some graphs that I display in an report as images. I would like to align them but depending of the content of my legend, graphs have a different position. The more bigger my legend is, the more on the left my graph is, as you can see on the picture. And with a really huge legend, the graph is even smaller !

Image

I would like to align my graphs, that means if I put one below the other, the left part of the graphs starts on the same line.

As the problem comes from the size of my legend, is there any way to set a default width to a LegendTitle ? and if the content is bigger than this default width, it will be displayed with break lines.

Locked