Chart inside of a list


In main jasper report I have a list. Inside of a list I want to have one pie chart and one meter chart. I have problem with both.


Pie Chart

I passed to List a field of type and set it in pie charts options (Use a JRDatasource expression -> $F{chartData}). The pie chart in generated report is empty.

I tried using same datasource for filling a list inside that first list (just to check if data is passed right), and that works.


Meter chart

In the list I passed field of Integer type that I want to show in meter chart. I don't understand what should I set for Dataset options for it to work. I tried with lot of options. I actually don't understand why would I even need a dataset if I'm showing only one number.




ena_c's picture
Joined: Mar 9 2022 - 1:10am
Last seen: 1 year 2 months ago

0 Answers:

No answers yet