Can you tell me how I can do this?

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Post Reply
dragoneane
Posts: 1
Joined: Fri Mar 08, 2019 7:46 am
antibot: No, of course not.

Can you tell me how I can do this?

Post by dragoneane » Fri Mar 08, 2019 7:50 am

I am using the Scatter Chart and I would like to make different sections of the background to be different colors. So that when a dot is in a certain color section it represents something to the user. Can you tell me how I can do this?

Thanks, dragoneane...

RolandCape
Posts: 1
Joined: Tue Apr 23, 2019 11:02 am
antibot: No, of course not.

Re: Can you tell me how I can do this?

Post by RolandCape » Mon May 06, 2019 10:43 am

Hi dragoneane, any update on this?
I have been looking for the same answer as well.
Cheers

John Matthews
Posts: 473
Joined: Wed Sep 12, 2007 3:18 pm

Re: Can you tell me how I can do this?

Post by John Matthews » Tue May 14, 2019 10:11 am

You can use a custom DrawingSupplier, like this.

Post Reply