jasper reports - How to prevent duplication of bar chart in iReport -
i've tried use chart in ireport first time. i've used bar chart , anytime preview chart see plenty of them, iithink 6. need single 1 there didn't do?
have query :
select count(*) total_message, `status`, date_format(date_created,'%m') `month` message year(date_created)=$p{year} group `status`, month(date_created) order `status` desc and have result
|total message | status | month | |1 | failed | january | |10 | sent | febuary | |11 | sent | march | |123 | sent | april | |156 | failed | may | .......... up december.
my serie expression set ${status}
categorie expression ${month}
value expression ${total_message}
can me? reading this!
you didn't provide code, have guess: have put chart in details band, , printing each record in datasource. put chart in non-repeatable band.
Comments
Post a Comment