nava.krishnam
-
Posts
3 -
Joined
-
Last visited
Content Type
Profiles
Forum
Events
Featured Visualizations
Knowledge Base
Documentation (PDF Downloads)
Blog
Documentation (Test Area)
Documentation
Dr. Jaspersoft Webinar Series
Downloads
Posts posted by nava.krishnam
-
-
Hi,
Could you please clarify if SDCode & SDName are public properties of the Meter class? if yes then you can access those propeties by refering to them as
"meter.sdcode" and "meter.sdname" while defining the fields in the report.
Regards
-
Hi,
I am having tough time figuring out how to configure piechart to use a list of objects as datasource. Could you please suggest the right approch to this problem?
My report needs to display two types of information. It needs to show a set of data values( let us call it frame 1) and a pie chart based on different set of data (let us call it frame 2).
My idea is to use JRBeanCollectionDataSource that contains two beans. One of the beans contains information needed for frame 1 and I am able to create fields for each of the bean properties in the report and display this data successfully.
The second bean contains a list of objects(with properties key, value and label) which I want to use to display the pie chart in frame 2. I have also created a field of type java.util.Collection for this list of objects in second bean.
Could you please suggest how this field can be configured to be consumed by pie chart?
Thank you,
Nava Krishna M
how to setup a piechart to use a report field of type java.util.collection
in Products
Posted
I figured out how to achive this.
subDataset needs to be defined at report level and datasetRun needs to be defined in the piechart.
datasetrun refers to the subDateset.