Font « Legend « JFreeChart Q&A

1. Font for Legend Items?

2. How To set legend items font

3. Stretched fonts and legend with window resize

I show a JFreeChart in a JFrame and specify that the chart should resize with the frame. When the frame is resized (and thus the chart resizes, it appears that the fonts and legend are scaled with the chart size. This can result in a distorted legend and squished (or stretched) fonts. This can also be seen in the JFreeChart demos ...

4. change legend's font