Scaling fonts in smaller chart
-
- Posts: 26
- Joined: Thu Jun 07, 2007 10:07 pm
Scaling fonts in smaller chart
Hi, I have a chart with 14 pt fonts on it. When the chart first shows up it is in a screen with 5 other charts, so the charts are kinda small. I have a button that allows the user to enlarge the chart, when the chart is enlarged it looks fine, the problem is that when it's small the fonts don't change size. I'm placing the chart in a chartpanel and placing that chartpanel on a JPanel with 5 other charts. I thought the chartpanel automatically scaled. How do I scale the fonts so that when the chart is small the fonts will be small also.
-
- Posts: 26
- Joined: Thu Jun 07, 2007 10:07 pm