Suggested feature - AttributedString return for all...

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
DavidThi808
Posts: 106
Joined: Fri May 27, 2005 7:44 pm
Location: Boulder, CO
Contact:

Suggested feature - AttributedString return for all...

Post by DavidThi808 » Mon Oct 12, 2009 4:23 am

label generators. I have a case where negative numbers should be read and positive black. So I can't set a single color for all data labels.

thanks - dave

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

Re: Suggested feature - AttributedString return for all...

Post by david.gilbert » Thu Oct 15, 2009 9:00 pm

This could be made to work, once upon a time I had some AttributedString stuff working reasonably nicely for a client. I think I hesitated to commit it because of some bugs in the JRE that required workarounds, but there's a reasonable chance these have been fixed now. Alas, I don't have much time to dig up the code and test it...
David Gilbert
JFreeChart Project Leader

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

Locked