Multi axes XYChart

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
shanon
Posts: 1
Joined: Fri Aug 08, 2014 9:41 am
antibot: No, of course not.

Multi axes XYChart

Post by shanon » Fri Aug 08, 2014 10:16 am

Hi there,
I have a problem in my Project with more than one axis in a XYChart. The Series of each axis have the same color. But I want that the colorset is not for each axis, but for the hole chart.
The only option I see at the moment ist to handle the color of the series completely by myself, but that is a not very good idea.

Greetz Shanon

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

Re: Multi axes XYChart

Post by david.gilbert » Sat Aug 16, 2014 6:04 am

You don't give enough information for me to know what is going on in your chart but, in general, JFreeChart does ensure that colours are unique across multiple datasets within the same chart. Whenever the default colour selection doesn't do what you need though, it is a good idea to set the colours manually.
David Gilbert
JFreeChart Project Leader

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

Locked