0

I need a line in the corner cell of a crosstab. For example:

crosstab

How can the reporting engine draw the red line in the picture and write colors and fruits to the respective places?

1
  • What have you tried? What does the JRXML look like? What happened when you dragged the crosstab element onto the report? What results did you get? What were you expecting? How have you wired the data -- are you using a SQL statement or Java objects? Sep 2, 2016 at 15:38

1 Answer 1

1

Use a Line element from the Palette. In JasperSoft Studio:

Line

If using iReport:

Line

Drag it onto the band, resize it, then move it over the crosstab's corner:

Crosstab with Line

2
  • @SamiŞimşekli: Please ask new questions, rather than leaving new questions in comments. Don't forget to accept answers by clicking the check mark, if you are satisfied with the answer. Sep 1, 2016 at 15:48
  • Please read my question carefully. My main question contains the last thing I have asked in the comment. "How can the reporting engine draw the red line in the picture 'and write colors and fruits to the respective places'?" So, why do you answer only the line part of it. I can change the question but still i need to write like that.
    – Sami
    Sep 2, 2016 at 7:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.