Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Item Labels are Not Rotating in My jFreeChart

 
Steve Dyke
Ranch Hand
Posts: 1629
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For some reason the Item Labels are not rotating.

 
Martijn Verburg
author
Bartender
Posts: 3275
5
Eclipse IDE Java Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Renderer not associated with the chart?
 
Steve Dyke
Ranch Hand
Posts: 1629
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
(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
Posts: 1629
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic