[updated] migration 0.9.10 -> 0.9.14 CategoryLabelPositio

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
fse
Posts: 25
Joined: Thu Mar 27, 2003 9:21 am
Location: cologne, germany
Contact:

[updated] migration 0.9.10 -> 0.9.14 CategoryLabelPositio

Post by fse » Wed Nov 26, 2003 5:26 pm

rotation of category labels in 0.9.14 works with the jdk versions
sun 1.4.? i tested 1.4.2
ibm 1.3.? i don't know which one exactly i tested
it does not work with
sun 1.3.1_7 and 1.3.1_9 (the most actual release)

- frank
hi,

since 0.9.14 i have a problem with the manipulation of the category labels.
the good image:
[image removed]
the bad image:
[image removed]
with 0.9.10 i turned the category labels with setVerticalCategoryLabels(true)
since 0.9.14 i got a result as u can see in the bad image.
because this method is deprecated in 0.9.14 i tried the CategoryLabelPosition-Trick but got the same result.

Code: Select all

            CategoryAxis axis = (CategoryAxis)chart.getCategoryPlot().getDomainAxis();
            // axis.setVerticalCategoryLabels(true);
            axis.setBottomCategoryLabelPosition(getVerticalDomainCLP());
the funny thing is: my system Tomcat and websphere on jdk 1.4.? shows the good image and tomcat & websphere with jdk 1.3.1 (the production systems show the bad results.
do i have to tell my customer to grade up his jdk versions ?

tia frank
Last edited by fse on Fri Nov 28, 2003 8:58 am, edited 1 time in total.

david.gilbert
JFreeChart Project Leader
Posts: 11734
Joined: Fri Mar 14, 2003 10:29 am
antibot: No, of course not.
Contact:

Post by david.gilbert » Wed Nov 26, 2003 6:46 pm

There are some JDK versions (particularly 1.3) that are affected by text rotation bugs. I haven't had the time to look into it further yet.
David Gilbert
JFreeChart Project Leader

:idea: Read my blog
:idea: Support JFree via the Github sponsorship program

Locked