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

anitasri

Members
  • Posts

    16
  • Joined

  • Last visited

anitasri's Achievements

Apprentice

Apprentice (3/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Collaborator Rare

Recent Badges

0

Reputation

  1. HI, I have a requirement to have fix tick counts in charts. I'm able to set intervals but not sure how to set fix tick counts. Please help, it is very urgent. Thanks, Anita
  2. Hi All, I've created a multiaxis chart. X axis is showing up as dashed line. Not sure how to solve tis issue. Please help. Thanks, Anita
  3. Hi all, I need to set the conditional Y axis tick mask , depending upon the value getting passed in one of the parameter. I'm trying ($P{param1}.equals("XXXX") ? "#,##.##" : "#,##") I've also tried setting pattern as parameter and tried setting axisFormat like <axisFormat tickLabelMask="<![CDATA[$P{pattern}]]>"/> I'm getting compliation error. Please suggest what can be done to accomplish this. Thanks, Anita
  4. I'm facing the same issue. Did you ever get to resolve this. Please help. Thank, Anita.
  5. Hi All, I'm having a problem in rounding up values in ireport. I've set the pattern for cell is #,##0 % and type is java.util.Double .If the value passed to cell is 12.5, it getting rounded up to 12 not 13 why is that. Please help me out to resolve this problem. I'll appreciate any help. Thanks, Anita.
  6. Hi All, I'm trying to create dynamic charts by ireport and jasper by using JRBeanCollectionDataSource.The generated number of charts are dynamic as they get generated depending upon the number of data lists which are getting passed. I'm able to generate charts but if I put chart in detailsband ,duplicate charts are getting generated and data is getting mixed up. If I put chart in summary band only one chart shows up with all data . Pls help!!! It is very urgent. I'll appreciate any help. Thanks, Anita
  7. Ok, found the answer myself again. Needed to set the position=rightOrBottom in axis, but it has to be set from xml. So the jxml will be: <axis position="rightOrBottom"> <lineChart> <chart> <reportElement x="0" y="0" width="0" height="0" isRemoveLineWhenBlank="true" backcolor="#FFFFFF"> <propertyExpression name="net.sf.jasperreports.chart.range.axis.tick.interval"><![CDATA[$P{line_interval}.toString()]]></propertyExpression> </reportElement> <chartTitle color="#000000"/> <chartSubtitle color="#000000"/> <chartLegend textColor="#000000" backgroundColor="#FFFFFF"/> </chart> <categoryDataset> <categorySeries> <seriesExpression><![CDATA[$F{noOfAcc_actuals}]]></seriesExpression> <categoryExpression><![CDATA[$F{month}]]></categoryExpression> <valueExpression><![CDATA[$F{noOfAcc}]]></valueExpression> </categorySeries> <categorySeries> <seriesExpression><![CDATA[$F{noOfAcc_commit}]]></seriesExpression> <categoryExpression><![CDATA[$F{month}]]></categoryExpression> <valueExpression><![CDATA[$F{noOfAcc}]]></valueExpression> </categorySeries> </categoryDataset> <linePlot> <plot/> <categoryAxisFormat> <axisFormat> <labelFont/> <tickLabelFont/> </axisFormat> </categoryAxisFormat> <valueAxisFormat> <axisFormat> <labelFont/> <tickLabelFont/> </axisFormat> </valueAxisFormat> <rangeAxisMinValueExpression><![CDATA[$P{line_min}]]></rangeAxisMinValueExpression> </linePlot> </lineChart> </axis> Post Edited by anitasri at 07/01/2011 16:22
  8. This exception comes in two scenarios: 1. If you put crosstab in details band- as to display crosstab you provide list od objects so it goes in to a loop: solution try to put crosstab in other band. 2. If you are using same list of objects in other component before it renders to crosstab: solution put crosstab in a subreport.
  9. Hello, I'm trying to generate a multiaxis chart from iReport (version 4.0.0). One chart is a line chart and other one is bar. Both line and bar charts are plotting correctly, but the value(Y) axis for both charts are showing up at left side. I need to show bar chart value axis on left and line chart value axis on left side(one value axis each side.). I'm not able to find any property which I can set for this scenario. I'll appreciate any help!!! Thanks, Anita Post Edited by anitasri at 06/30/2011 20:26
  10. Hello, I'm trying to create a cross tab structure from ireport. I'm able to create crosstab with two column groups successfully. My issue is format related. I want to have a format where first column group be one cell and second column groups under it should be sub cells like a heirarcy structure.But so far the first column group is showing up just on first sub column group . Please refer the attachment. Thanks, Anita.
  11. Ok, by writing chartCustomizer we can accomplish that by over implementing customize method like CategoryPlot plot = jfct.getCategoryPlot(); plot.getRenderer().setSeriesStroke(0, BasicStroke. new BasicStroke(1.0f, BasicStroke.CAP_ROUND, JOIN_ROUND, 1.0f, new float[] {5.0f, 5.0f}, 0.0f));Thanks, Anita Srivastava
  12. Hello, Is there is a way to cutomize the trend lines in line chart? For example I need to show dotted line instead of solid line with squares or circles. Thanks, Anita
  13. Answer to the first question, needed to set value axis tick label mask to ###0.00;(###0.00). Thanks, Anita.
  14. The second problem is resolved by setting Range vlaue min expression. Still haven't found the solution for my first problem. Pls help.. Thanks, Anita
  15. Hello, Is there a way to customize the ireport tool, means I need to hide option/functionality in the tool. How can I achieve that? Thanks, Anita
×
×
  • Create New...