Search found 6 matches

by sildon
Thu Oct 01, 2020 12:51 am
Forum: JFreeChart
Topic: Polar Axis Location incorrect for West and South
Replies: 10
Views: 11587

Re: Polar Axis Location incorrect for West and South

I'm confused. I thought the only annotation for polar charts were the text annotation in the lower right corner. Could you point to some examples using XYShapeAnnotations and XYDrawableAnnotation on a polar chart?
by sildon
Wed Sep 30, 2020 4:18 am
Forum: JFreeChart
Topic: Polar Axis Location incorrect for West and South
Replies: 10
Views: 11587

Re: Polar Axis Location incorrect for West and South

If I'm reading you correctly, I can not do what I want using setAxisLocation for the foreseeable future. One option I'm thinking of, but not sure it'll be worth the time and trouble, is to overlay another polar plot on top of this one where the top plot will have the axis values and the bottom plot ...
by sildon
Tue Sep 29, 2020 8:35 am
Forum: JFreeChart
Topic: Polar Axis Location incorrect for West and South
Replies: 10
Views: 11587

Re: Polar Axis Location incorrect for West and South

I've managed to create a small program that shows the issue I'm seeing. I use invertAxis(true) for south & west, and invertAxis(false) for north & east. This maintains zero in the center but the data is flipped for invertAxis(true). package samplecode; import java.awt.EventQueue; import javax.swing....
by sildon
Tue Sep 29, 2020 6:19 am
Forum: JFreeChart
Topic: Polar Axis Location incorrect for West and South
Replies: 10
Views: 11587

Re: Polar Axis Location incorrect for West and South

No, I'm not using setAxisLocation(int index, …), I'm using plot.setAxisLocation(PolarAxisLocation.SOUTH_RIGHT); I notice your angle offset is 180, in my case I always have it at -90. Below are images of what I'm seeing. First is normal/default. The second is applying setAxisLocation only. You'll not...
by sildon
Mon Sep 28, 2020 8:56 am
Forum: JFreeChart
Topic: Polar Axis Location incorrect for West and South
Replies: 10
Views: 11587

Re: Polar Axis Location incorrect for West and South

Inverting the axis makes things worse. Although the axis labels are reversed, the data becomes distorted. I didn't look very closely at what happens, but from a quick look it appears some values became negative (or the angle was altered by 180 deg) so that data which should be only on the east side ...
by sildon
Sat Sep 26, 2020 10:41 am
Forum: JFreeChart
Topic: Polar Axis Location incorrect for West and South
Replies: 10
Views: 11587

Polar Axis Location incorrect for West and South

When I change the axis location to either west or south, zero is no longer in the center but on the outside edge. Or stated another way, the upper bounds value is in the center and the lower bounds value is at the west or south angel tick mark. Is this a bug, or is there something else I need to do ...