legend items???

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
thuyhahe
Posts: 1
Joined: Sat Jul 14, 2018 12:33 pm
antibot: No, of course not.

legend items???

Post by thuyhahe » Sun Jul 15, 2018 4:46 pm

Now the StandardLegend class that had setRenderingOrder() no longer exists, is it possible at all to change the order of legend items (with LegendRenderingOrder)?

I just lost much time and nerves on this... :)

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

Re: legend items???

Post by david.gilbert » Mon Jul 16, 2018 8:05 pm

Are you using the LegendTitle class? It has a setSortOrder() method.
David Gilbert
JFreeChart Project Leader

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

Locked