... are not working with 0.9.3 but with 0.9.2, the data is not drawn in 0.9.3 (you get an empty plot with axes, grids, labels, titles, legends...)
The demo as well as my own experiments with overlaid category charts have this problem.
... Submit a new bug?
regards
Andreas Schroecer
overlaid category charts 0.9.3
Re: overlaid category charts 0.9.3
Hi Andreas,
I think I recall someone sending me a fix for this, but it doesn't seem to be in my source tree. What you need to do is modify the draw(...) method in the VerticalCategoryPlot class...the call to the render(...) method should not be enclosed in the if statement, it should be just after it like this:
// 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);
Regards,
DG.
I think I recall someone sending me a fix for this, but it doesn't seem to be in my source tree. What you need to do is modify the draw(...) method in the VerticalCategoryPlot class...the call to the render(...) method should not be enclosed in the if statement, it should be just after it like this:
// 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);
Regards,
DG.
Re: overlaid category charts 0.9.3
... works!
well, that's a quick help :-0 !
Thanks a lot!
Andreas Schroeder
well, that's a quick help :-0 !
Thanks a lot!
Andreas Schroeder