Chart problems on Jasperreports

Asked

Viewed 40 times

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?

Este é meu jrxml

Devia ter outro chart ao lado

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.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.