ordre series on the chart

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
ndhai
Posts: 10
Joined: Thu Jun 05, 2008 2:00 pm

ordre series on the chart

Post by ndhai » Fri Jul 04, 2008 11:45 am

Hello,

I have 2 axis Y1 (left) and Y2 (right) on the chart.
I would like to draw :
+++case 1: (begin by Y1)
first, somes series of Y1,
and then, somes series of Y2,
and somes series of Y1 ... and so on...

OR
+++case 2: (begin by Y2)
first, somes series of Y2,
and then, somes series of Y1,
and somes series of Y2 ... and so on...

the ordre 'draw' of series on the chart is IMPORTANT for me!


another say, could we set the ordre of series on the chart independently with axes/addition of serie to dataset?

thanks for yr helps
ndhai

paradoxoff
Posts: 1634
Joined: Sat Feb 17, 2007 1:51 pm

Post by paradoxoff » Sat Jul 05, 2008 8:26 pm

I do not think that this is possible without changing the code.
If you told us why you need the order of series across datasets, somebody might be able to suggest a workaround to achieve the same effect.

Locked