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

midrag

Members
  • Posts

    28
  • Joined

  • Last visited

 Content Type 

Profiles

Forum

Events

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Downloads

Everything posted by midrag

  1. Hello, i am passing JRMapArrayDataSource to the fillmanager. In the datasource i´ve got two values as String (one is casted from Integer to String to pass it as a map). I can display both values in a simple Report without charting. Now i want to do a pie chart with these two values. The report compiles fine, but the fillmanager throws an JRException saying that he has problems evaluating the expression for the Value-Field of the PieChart. I declared the Field as java.lang.Object and cast it to Integer in the value-Expression field: Code:<valueExpression><!(java.lang.Integer) [CDATA[$F{Interger_as_String_Field}]]></valueExpression> but it still throws a JRException saying that he has problems evaluating the expression for the Value-Field of the PieChart. So how can i chart from a JRMapArrayDataSource with the values passed as Strings? I have the feeling that i am overlooking something essential. Can someone point me to the right direction? best regards, midrag
  2. Hi, my image comes from an POJO as byte[]. I declared the field as object and casted it to byte[]. Code:JRImageLoader.loadImage((byte[])$F{logo})My image displays with a black background. Changing mode to transparent didn't help. Is there a workaround for this problem? regards, midrag
×
×
  • Create New...