iReport Chart Stacked and Grouped bar
Is possible to create a Grouped and Stacked Chart like this in iReport?
http://www.java2s开发者_Go百科.com/Code/Java/Chart/JFreeChartStackedBarChartDemo4.htm
Not exactly, you can do stacked bar charts but you cannot group bars with iReport alone.
You can however, use chart customizers like this or otherwise implement any JFreeChart feature with code.
Or if you don't mind missing the spaces, for the category expression use
"Product " + $F{ProductNum} + " " + new SimpleDateFormat("MMM yyyy").format($F{Day})
精彩评论