Changing color of one point

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Zanton
Posts: 9
Joined: Thu Jul 13, 2006 1:14 pm

Changing color of one point

Post by Zanton » Thu Aug 03, 2006 1:57 pm

How can I change the color of one point in a XYSeries chart ?

Thanks for helping !

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

Post by david.gilbert » Thu Aug 03, 2006 5:35 pm

Subclass the renderer and override the getItemPaint(int, int) method.
David Gilbert
JFreeChart Project Leader

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

Locked