align grid with second range axis

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
hank
Posts: 31
Joined: Mon May 12, 2003 10:02 am
Location: Lake of Constance, Germany

align grid with second range axis

Post by hank » Thu Nov 18, 2004 3:44 pm

Hi,

we have the requirement that the gridlines of a chart should not only align with the first range axis, but also with the second range axis.

Is this possible?
If yes, how.

How would I get the number of ticks drawn in the chart?
Or how would I get the delta of one tick to another?

Looking around for quite a while now and not finding even a hint :-(

This is an example of the chart, and we would like to have the gridlines of the total-axis also usable for the %-axis.

Image

thanks and cheers

Heinrich

Locked