jasper reports - JFreeChart: overlapping bars in XY chart that have the same value -
i have problem 2 bars different series overlap each other when have same value. , 1 of both on top of other. unfortunately, want 1 in back, front :
i tried changing order of category expression, no avail. can tell me how can orange bar on top of blue 1 please ?
you may try datasetrenderingorder
:
xyplot plot = jfreechart.getxyplot(); plot.setdatasetrenderingorder(datasetrenderingorder.forward); // or reverse
or
plot.setseriesrenderingorder(datasetrenderingorder.forward);
if neither works, isn't bad idea use stacked bar.
Comments
Post a Comment