Secondary axis position (from right to left) in .19 ?

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
puccet
Posts: 3
Joined: Fri Jun 10, 2016 10:29 am
antibot: No, of course not.

Secondary axis position (from right to left) in .19 ?

Post by puccet » Fri Jun 10, 2016 10:32 am

Hi,

I've developed an application that make extended use of secondary axis, it always showed on the right side of the chart but after upgrading to 1.0.19 it appears on the left side right after the primary axis, is this a bug or an intended behavior ? is there ant way to control its position ?

puccet
Posts: 3
Joined: Fri Jun 10, 2016 10:29 am
antibot: No, of course not.

Re: Secondary axis position (from right to left) in .19 ?

Post by puccet » Fri Jun 10, 2016 10:34 am

The new behavior appear in 1.0.18

puccet
Posts: 3
Joined: Fri Jun 10, 2016 10:29 am
antibot: No, of course not.

Re: Secondary axis position (from right to left) in .19 ?

Post by puccet » Fri Jun 10, 2016 10:53 am

I did some tests, with the following code but cannot get the axis to position on the right side of the chart all axis are rendered on the left side only:

Code: Select all

					newPlot.setRangeAxis(0, numberAxis);
					newPlot.setRangeAxis(1, numberAxis);
					newPlot.setRangeAxisLocation(0, AxisLocation.BOTTOM_OR_LEFT);
					newPlot.setRangeAxisLocation(1, AxisLocation.TOP_OR_RIGHT);

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

Re: Secondary axis position (from right to left) in .19 ?

Post by paradoxoff » Wed Jun 15, 2016 7:50 pm

Do you have a complete, compilable example that is showing the issue?

Locked