The render2 method is missing in OverlaidXYPlot.
Here is one basic implementation which solved missing secondaryDataset plot :
/**
* Renders the subplots (secondary).
* <P>
* The draw(...) method inherited from XYPlot takes care of all the setup
* (background and axes) then calls the render(...) method.
*
* @param g2 the graphics device.
* @param dataArea the area inside the axes.
* @param info optional information collection.
* @param crosshairInfo collects information about crosshairs.
*/
public void render2(Graphics2D g2, Rectangle2D dataArea,
ChartRenderingInfo info, CrosshairInfo crosshairInfo) {
Iterator iterator = subplots.iterator();
while (iterator.hasNext()) {
XYPlot subplot = (XYPlot) iterator.next();
subplot.render2(g2, dataArea, info, crosshairInfo);
}
}
simple PATCH for OverlaidXYPlot used with secondaryAxis
Re: simple PATCH for OverlaidXYPlot used with secondaryAxis
Well my previous patch isn't sufficient.
I produced another one.
David let me know the best place to send you the patch.
I produced another one.
David let me know the best place to send you the patch.
Re: simple PATCH for OverlaidXYPlot used with secondaryAxis
Hi Xavier,
A good idea is to attach the patch to a bug report or feature request on the project page at SourceForge:
http://sourceforge.net/projects/jfreechart
Alternatively, you can just e-mail it to me (but then no-one else has access to it until I get around to dealing with it).
Regards,
Dave Gilbert
A good idea is to attach the patch to a bug report or feature request on the project page at SourceForge:
http://sourceforge.net/projects/jfreechart
Alternatively, you can just e-mail it to me (but then no-one else has access to it until I get around to dealing with it).
Regards,
Dave Gilbert
Re: simple PATCH for OverlaidXYPlot used with secondaryAxis
Hi Xavier,
Thankyou very much...
Regards,
Dave Gilbert
Thankyou very much...
Regards,
Dave Gilbert