Share

JFreeChart

Tracker: Bugs

7 Tickmark labels drawn within graph area when scaled - ID: 1396337
Last Update: Comment added ( mungady )

It seems that, if you make a graph too small, and
scaling is applied via an AffineTransform, the labels
and the tick marks may draw over top of the graph itself.

I will attach a screenshot (don't mind the colors, but
instead, look at the date labels at the bottom of the
graph)

This is simple to reproduce:
1) create a graph within an applet
2) run, and shrink the applet to a size that requires
the fonts to be scaled down to fit


Arougthopher ( arougthopher ) - 2006-01-03 21:38

7

Open

None

David Gilbert

General

1.0.x

Public


Comments ( 3 )

Date: 2006-01-06 11:01
Sender: mungadySourceForge.net SubscriberProject Admin

Logged In: YES
user_id=112975

I was wrong, the problem I've seen before related to rotated
text WITHOUT scaling. I've been able to reproduce the
problem (JDK 1.5 on Ubuntu Linux (AMD64)). I'm going to
spend some more time looking at it, but I think it might be
hard to fix.


Date: 2006-01-06 02:55
Sender: arougthopher

Logged In: YES
user_id=411394

OS: Windows 2k
JDK: both 1.4.2 and 1.5

Sorry, but I've seen this happen in multiple releases of
1.5.x. I have never seen it scale properly. Though, I have
never run with anything prior to 1.4.2 either.

Hope that helps.


Date: 2006-01-05 07:30
Sender: mungadySourceForge.net SubscriberProject Admin

Logged In: YES
user_id=112975

Can you tell me the JDK and operating system versions you
are using? I've seen this type of problem before, but it
tends to be specific to certain JDK releases.


Attached File ( 1 )

Filename Description Download
tickmarkproblem.jpg Graph with tick mark labels drawn over graph area Download

Changes ( 3 )

Field Old Value Date By
priority 5 2006-01-06 11:01 mungady
assigned_to nobody 2006-01-05 07:30 mungady
File Added 162020: tickmarkproblem.jpg 2006-01-03 21:38 arougthopher