how to get CombinedDomainXYPlot and Range Axis values

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
hsp707
Posts: 18
Joined: Thu May 15, 2008 4:58 pm

how to get CombinedDomainXYPlot and Range Axis values

Post by hsp707 » Tue Jul 29, 2008 7:09 am

Hello everybody.

I have CombinedDomainXYPlot and I need to have about 5 different Range axis for this combinedDomainAxis. For every range axis, Basically, for common XYPlot, I am adding range Axis like this ..........( as I need to make only one chart in one common area)

subplot.setRangeAxis(1, someAxis1);
subplot.setRangeAxis(2, someAxis2);

So far it is good, however I am having trouble in wrapping my head around HOW CAN I ADD DIFFERENT IMAGE ANNOTATIONS TO IT WHEN LOCATION OF EVERY ANNOTATION IS DEPENDENT ON DOMAIN AXIS (COMMON - OK, NO PROBLEM), BUT DIFFERENT RANGE AXIS (HERE IS THE PROBLEM ?? ), Because Annotation is added to the plot, how can I make sure that I am adding at right location if each of the Range axis has different scale.

Thanks a lot for everyone's help.

hsp707
Posts: 18
Joined: Thu May 15, 2008 4:58 pm

Post by hsp707 » Tue Jul 29, 2008 5:33 pm

Looks like I have not explained it right as there is no response yet :roll: Should I try again to explain - just wondering how do I explain it better?

Locked