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

stephen.calder

Members
  • Posts

    5
  • Joined

  • Last visited

stephen.calder's Achievements

Rookie

Rookie (2/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. Good Afternoon, I have a multi axis chart that has an area chart on one axis and a line graph on the other, with a date range on the X axis. When I have the line graph draw first, part of the line is obscured by the area chart - but when I draw the area chart first, it seems like there is "padding" between the dates, causing the area graph to not display continuously, but with gaps in the middle. Is there any way to force the padding to 0? Thanks,
  2. Thanks for that! It is similar, but I couldn't get mine to work despite looking at your example. As I'm pressed for time I just modified the query to do the calculations in SQL (which while messy, got things working right). I will come back to this and try to get it working how I want, as I'm sure I'll bump into it again later, and if I sort it out I'll bump this thread. Thanks again!
  3. Thanks for the quick response! Just checked, and "test_var" is before (ie, above) "test_var_calc" in the Report Inspector.
  4. Yes, "test_var" has the Evaluation Time as "Now", and no matter what I put into "test_var_calc" (Now, Band, Report, Auto) the value is still null.
  5. I have a field of type float in my DB, let's call it X. I want to have two other user defined variables that do seperate math operations on that value show up in the Detail band, and do sums on them at the end of the report. in iReport, my Expression Editor looks like this for the original DB value: $F{X} My first user defined variable is named "test_var" and looks like this: $F{X}.floatValue()*(1.15) I want my third value, named "test_var_calc" to reference test_var like so: $V{test_var}.floatValue()*(1/0.75) This looks like it should work, but while "test_var" does work correctly, "test_var_calc" is always null. Also, any attempt to sum() the values in "test_var" or "test_var_calc" also always return null. Any help is appreciated.
×
×
  • Create New...