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

wildgriffon

Members
  • Posts

    8
  • 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 wildgriffon

  1. Hi CBox! Thankyou for your help! ;) I'm going to try it. Bye B)
  2. cristinab wrote: Hy, I use a crosstab element in mai report,and in one of the cell(is the detail/detail cell) I want to put a background color that is dependent of one field value. For example I have $F{displayColor} field and I want to do something like this <style backcolor="$F{displayColor} ">Some text </style> but in this case the display color covers only the "Some text" area and I want it to cover the entire tectElement that contains the value "Some text" I can't use images because I would have to many images...I don't know exactly what colors would be displayed as these are dependent of field value Regards, Cristina It's the same problem that I have found. The problem is the generated xml code: for its structure the background color can be only applied to the text. I think that a possible solution is the one that I chose: put coloured images behind the textElement and change the background color changing the path of the images. I would like to understand what CBox mean, I'll wait his example. Regards
  3. CBox wrote: I still don't understand why some rectangles with conditional-style for the colors doesn't work for you. If you say that the color is not tied to the fieldvalue, then why don't you pass some parameters that contain your colors that you can use within the conditional styles!??!?! just don't understand why you want to use some complex images changes after the jasperprint creation. (this is, what I understood from your postings) regards C-Box I'm trying to use iReport software from few days, so I don't have a complete software knowledge. Please, can you make me an example of what you mean? Thanks. Bye
  4. wildgriffon wrote: I'm wondering if I can get a solution putting a colored image behind the textElement :woohoo: , but I would like don't do it... :sick: You understand that this isn't a professional solution. Can someone help me? I hope :) I tried it. It works fine. Bye
  5. Hi CBox, I understand what you mean, but I need to change the textElement's background with 6 or 7 different colours, and I don't have ties between the colours and the textElement value. To obtain the grid in the figure I have put textElements one close to the other, can you understand? And for each one I have put the padding to zero. Setting the color of the shape or change the path of possible image put behind the textElement are the same things for me, and I need to do it from my Java program (there I have my rules to set the right color). Thank you
  6. By: apenrose - apenrose RE: BackColor of element covers text not cell? 2006-02-28 13:56 Hi Lucian, Thanks for the information. I will upgrade to 1.2.0 to correct this. Changing background to 254 254 254 ( ever so slightly off white) is another option for anyone not wanting to upgrade. Although why you wouldn't want to is a mystery. Andrew :huh: Sure that it has been updated? Take a look at this topic: http://www.jasperforge.org/index.php?option=com_joomlaboard&Itemid=215&func=view&id=17415&catid=9
  7. I'm wondering if I can get a solution putting a colored image behind the textElement :woohoo: , but I would like don't do it... :sick: You understand that this isn't a professional solution. Can someone help me? I hope :)
  8. Hi, I need to set dynamically the background color property of a textElement form a Java application by <style></style> tag. Setting the backcolor property the result is that only the text in the textElement has the chosen background color, but the entire textElement has the background color set as white. string = "<style backcolor="yellow" pdfFontName="Helvetica-Oblique">" + string + "</style>"; I would like to get the same result obtained by setting the textElement background color by the object property from the iReport application, so get the entire textElement filled with the chosen background color. If it isn't possible, there is an alternative like dynamically setting the background color by iReport application? For example from the "Textfield expression" property... View the attached file for an example. Thanks size=230]http://www.jasperforge.org/components/com_joomlaboard/uploaded/images/sample.GIF Post edited by: wildgriffon, at: 2006/11/02 08:16 Post edited by: wildgriffon, at: 2006/11/02 08:29
×
×
  • Create New...