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

Bug with time period series


davejester

Recommended Posts

I couldn't find a way to report a bug in the tracker so here it is:

 

In Report.java function writeTimePeriodSeries

 

pw.println("ttttttt<endDateExpression>" + getCDATAString( cs.getStartDateExpression() ,7 ) + "</endDateExpression>");

 

This writes the start date expression as the end date expression. It should be changed to:

 

 

pw.println("ttttttt<endDateExpression>" + getCDATAString( cs.getEndDateExpression() ,7 ) + "</endDateExpression>");

Link to comment
Share on other sites

  • 3 months later...
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Yes I want to report this bug too:

 

It seems that iReport is muddling the "endDateExpression" for a timePeriodSeries set - it keeps getting the same value as "startDateExpression", causing each datapoints interval (width) to be 0. eg:

 

Code:

...
<startDateExpression><![CDATA[$F{startdate}]]></startDateExpression>
<endDateExpression><![CDATA[$F{enddate}]]></endDateExpression>
...

 

keeps changing to

 

Code:
[code]
...
<startDateExpression><![CDATA[$F{startdate}]]></startDateExpression>
<endDateExpression><![CDATA[$F{startdate}]]></endDateExpression>
...
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...