my 2nd Y axis patch, which works with 0.9.2 no longer works with 0.9.3
it is based on some hacks I've made to OverlaidVerticalCategoryPlot
it compiles, it runs without errors, and it displays the 2nd Y axis with the correct scale, but it just doesn't plot the line
are their any changes made in the new version that prohibits the use of an overlaid chart?
thanks
Ron
2nd Y axis patch
Re: 2nd Y axis patch
The order of some parameters in the ValueAxis constructor changed between 0.9.2 and 0.9.3, this might be causing the problem. I haven't had a chance to evaluate your code yet...
Regards,
DG.
Regards,
DG.
Re: 2nd Y axis patch
I've found it, but still need your help David...
In this piece of code in VerticalCategoryPlot
// draw the range markers, if there are any...
if ((this.rangeMarkers!=null) && (this.renderer!=null)) {
Iterator iterator = this.rangeMarkers.iterator();
while (iterator.hasNext()) {
Marker marker = (Marker)iterator.next();
renderer.drawRangeMarker(g2, this, getRangeAxis(), marker,
axisDataArea, dataClipRegion);
}
render(g2, axisDataArea, info, dataClipRegion);
}
I need to move the "render(g2..." to outside the if brackets, is this OK?
seems to work for me
In this piece of code in VerticalCategoryPlot
// draw the range markers, if there are any...
if ((this.rangeMarkers!=null) && (this.renderer!=null)) {
Iterator iterator = this.rangeMarkers.iterator();
while (iterator.hasNext()) {
Marker marker = (Marker)iterator.next();
renderer.drawRangeMarker(g2, this, getRangeAxis(), marker,
axisDataArea, dataClipRegion);
}
render(g2, axisDataArea, info, dataClipRegion);
}
I need to move the "render(g2..." to outside the if brackets, is this OK?
seems to work for me
