• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Dynamic Image insertion on Reports with IReport

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Folks.
I'm building a report using IReport 1.2.8. The problem is I wanna make a column which, depending on the value of a field, will insert a diferrent image. If the value is low, I'll insert a red ball. If the value is a little bit low, I'll insert a yellow ball. Else I'll insert a green ball.
I don't know how to do this. Please help me.
Thanks
 
author
Posts: 23951
142
jQuery Eclipse IDE Firefox Browser VI Editor C++ Chrome Java Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Let's move this topic to the "open source" forum, where some of the ireport experts can be found...

Henry
 
Greenhorn
Posts: 1
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This is exactly the problem I have since yesterday... so many lost hours because of this >,<
Maybe we could open this thread again?!?! I can't imagine that I'm the only one with this problem in Jasperreport..

Only problem: I need it fully dynamic, so .. I have 3 images, the name of the image is a field from my datasouce, so I insert the name dynamic.

BUT -> what happens if there is no image under this name... the field would stay blank, but then maybe the next number of the datasource should fill the image, but then its Null... and blank -.-

Thank you very much in advance,
Holo
 
He's giving us the slip! Quick! Grab this tiny ad!
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic