开发者

iReport Chart Stacked and Grouped bar

开发者 https://www.devze.com 2023-03-25 07:18 出处:网络
Is possible to create a Grouped and Stacked Chart like this in iReport? http://www.java2s开发者_Go百科.com/Code/Java/Chart/JFreeChartStackedBarChartDemo4.htmNot exactly, you can do stacked bar charts

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})
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号