Forums Register Login

JFreechart Item Data Labels are Not Rotating

+Pie Number of slices to send: Send
Can someone help me figure out why the following will not produce a chart where the data labels are rotated 45 degrees. They appear to be in the default position.

+Pie Number of slices to send: Send
I could still use some help on this issue.
+Pie Number of slices to send: Send
From the API documentation:

The API documentation wrote:angle - the rotation angle (in radians)



+Pie Number of slices to send: Send
 

Paul Clapham wrote:From the API documentation:

The API documentation wrote:angle - the rotation angle (in radians)





Changing the value of the last parameter to a smaller number that would be more realistic(4) does not seem to make any difference. It is like the rotation code is being ignored.
+Pie Number of slices to send: Send
Even 4 isn't realistic for a number which is in radians. You seemed to be assuming that "45.0" would mean 45 degrees. It doesn't.
+Pie Number of slices to send: Send
 

Paul Clapham wrote:Even 4 isn't realistic for a number which is in radians. You seemed to be assuming that "45.0" would mean 45 degrees. It doesn't.



I changed the value = 0.5 and it still remains un-rotated.
+Pie Number of slices to send: Send
I read the documentation but couldn't understand it. What is this "rotation anchor point" and how does it work?
Life just hasn't been the same since the volcano erupted and now the air is full of tiny ads.
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 2354 times.
Similar Threads
Displaying scalable vector graphics on ibm aix
Item Labels are Not Rotating in My jFreeChart
jfreechart bar chart - show item value
Scales on Dual Axis Chart
Create JFreeChart with Stacked Area and Stacked Bar Combination
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 18:22:36.