Jump to content

anamika.rimpi

Members
  • Posts

    1
  • Joined

  • Last visited

 Content Type 

Forum

Downloads

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Security Advisories

Events

Profiles

Everything posted by anamika.rimpi

  1. Hi, I want to plot a Bar chart in multiple pages as the dataset is huge (more than 1000 points). The chart needs to use a java bean data source.Below is the jrxml code for the chart for getting data. One parameter has been created. <parameter name="datasource4" class="java.util.List" isForPrompting="false"/> Then one dataset has been created. <subDataset name="dataset4" uuid="8424528c-d095-4b51-9e08-d6346bef037f"> <field name="name" class="java.lang.String"/> <field name="count" class="java.lang.String"/> </subDataset> Below is how chart data is getting assigned. <categoryDataset> <dataset> <datasetRun subDataset="dataset4"> <dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($P{datasource4})]]></dataSourceExpression> </datasetRun> </dataset> <categorySeries> <seriesExpression><![CDATA[$F{name}]]></seriesExpression> <categoryExpression><![CDATA[$F{name}]]></categoryExpression> <valueExpression><![CDATA[integer.parseInt($F{count})]]></valueExpression> </categorySeries> </categoryDataset> I want to use group (lets say splitter) with this chart to split the chart in multiple pages, which is not allowed. Please suggest how can I use group for chart with subdataset. Thanks, Anamika
×
×
  • Create New...