Jump to content
We've recently updated our Privacy Statement, available here ×

Bar chart is not getting seperated


rakeshc

Recommended Posts

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

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...