jQuery in Action, 2nd edition*
The moose likes Other Open Source Projects and the fly likes Item Labels are Not Rotating in My jFreeChart Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Item Labels are Not Rotating in My jFreeChart" Watch "Item Labels are Not Rotating in My jFreeChart" New topic
Author

Item Labels are Not Rotating in My jFreeChart

Steve Dyke
Ranch Hand

Joined: Nov 16, 2004
Posts: 1394
For some reason the Item Labels are not rotating.

Martijn Verburg
author
Bartender

Joined: Jun 24, 2003
Posts: 3274
    
    5

Renderer not associated with the chart?


Cheers, Martijn - Blog,
Twitter, PCGen, Ikasan, My The Well-Grounded Java Developer book!,
My start-up.
Steve Dyke
Ranch Hand

Joined: Nov 16, 2004
Posts: 1394
Martijn Verburg wrote:Renderer not associated with the chart?


I thought this line was the association. And I am getting the font change just not the rotation. How can I make the association?

Damien Bories
Greenhorn

Joined: Feb 02, 2009
Posts: 4
(It is probably too late for Steve, but in case somebody is facing the same problem)



Do not use degrees, but radians. Which means, in your case :



This is a common mistake, everybody do it the first time.
Steve Dyke
Ranch Hand

Joined: Nov 16, 2004
Posts: 1394
Damien Bories wrote:(It is probably too late for Steve, but in case somebody is facing the same problem)



Do not use degrees, but radians. Which means, in your case :



This is a common mistake, everybody do it the first time.


Thanks for the help.

I tried this but still did not work. The only way I got the results I wanted was to abandon the ChartFactory and build the chart from scratch.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Item Labels are Not Rotating in My jFreeChart
 
Similar Threads
Displaying scalable vector graphics on ibm aix
Create JFreeChart with Stacked Area and Stacked Bar Combination
jfreechart bar chart - show item value
JFreechart Item Data Labels are Not Rotating
Scales on Dual Axis Chart