rakeshc Posted February 8, 2008 Share Posted February 8, 2008 Hi Friends, I am developing a report with iReport. The aplication asks to provide a list of items as ids that we have to pass strings as '7754','8231','6632'....I had created a subreport which has the items according to the IDs. And I had added a page/column breker so that I can see each ID and items in the same page. next page will be next ID and its items. I had created a bar graph which shows IDs and Details, as a subreport and added in the main report. My problem is while running the report, each ID and its items are coming in individual pages, bu the bar graph shows all the IDs and Values in each Graph. I wnt to seperate the graph like for each ID, only its values should be displayed. How can I do that? I had tried many methods, spent time for searching for a clue... I am not getting anything. Plese help me, Thanks in advance.Warm Regards,Rakesh Link to comment Share on other sites More sharing options...
swood Posted February 11, 2008 Share Posted February 11, 2008 This is a JasperReports level question. It looks like you have an error in the definition of the chart data set. ShermanJasperSoft Link to comment Share on other sites More sharing options...
rakeshc Posted February 11, 2008 Author Share Posted February 11, 2008 My code looks like.... <bar3DChart> <chart hyperlinkTarget="Self" > <reportElement x="13" y="132" width="512" height="208" key="element-1"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <chartLegend textColor="#000000" backgroundColor="#FFFFFF" > </chartLegend> </chart> <categoryDataset> <dataset > </dataset> <categorySeries> <seriesExpression><![CDATA[$V{Var1}]]></seriesExpression> <categoryExpression><![CDATA[$F{val1}]]></categoryExpression> <valueExpression><![CDATA[$F{val1}]]></valueExpression><itemHyperlink ></itemHyperlink> </categorySeries> <categorySeries> <seriesExpression><![CDATA[$V{Var2}]]></seriesExpression> <categoryExpression><![CDATA[$F{val2}]]></categoryExpression> <valueExpression><![CDATA[$F{val2}]]></valueExpression><itemHyperlink ></itemHyperlink>.......Can you suggest by what way I can seperate the chart? Link to comment Share on other sites More sharing options...
mdahlman Posted February 12, 2008 Share Posted February 12, 2008 This is a JasperReports question. Please post this question to the JasperReports forum. Regards,MattJasperSoftPost edited by: mdahlman, at: 2008/02/11 16:05 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now