1
I have to make a report that has two pie charts, what happens is that my first Chart appears without problems, the second no, and I have already checked that the lists, which are sent via parameter, and the same are populated.
parametros.put("LIST_GRAFICO_RECEITAS", listaGraficoReceitas);
parametros.put("LIST_GRAFICO_DESPESAS", listaGraficoDespesas);
But only one of the Chart’s is shown. Someone has been there?
This is my Chart connection(this refers to the recipe chart) with the report:
new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($P{LIST_GRAFICO_RECEITAS})
Same for the other Chart(expense chart):
new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($P{LIST_GRAFICO_DESPESAS})
People, who can answer, I have tried everything I could, even sub-reports since the two lists quoted above are of the same type. I’m on hold. Hug.
– Julio Cesar da Silva Barros