Jump to content
JasperReports Library 7.0 is now available ×

Why won't my rectangle show?


Recommended Posts

By: Erich Kilmer - ekilmer

Why won't my rectangle show?

2003-03-14 09:08

I am trying to build a report that has text within a rectangle. After compiling I build the report and I can see the text but not the rectangle. I suspect that the text overlaps the rectangle. Could this keep the rectangle from displaying?

Is there a way to make the rectangle display even with the text overlapping it? This would be good for debugging the report design.

Also since a rectangle is in a band, can I have two rectangles side by side in the same band?

TIA

 

 

 

 

By: Erich Kilmer - ekilmer

RE: Why won't my rectangle show?

2003-03-14 12:02

Let me rephrase that.

My rectangles do not have a border.

I was looking at the HyperlinkReport sample. If you look at them in PDF they have a nice border around the rectangle and the entire rectangle has a solid color background.

However if you look at the HyperlinkReport HTML page then the nice border is missing and the solid color background is only on the first row.

This is what was throwing me off.

I was using the example XML and looking at the PDF examples and couldn't understand why my HTML looked different.

So, is there anyway to get the rectangles with borders in HTML?

 

 

 

 

By: Erich Kilmer - ekilmer

RE: Why won't my rectangle show?

2003-03-14 12:45

Also looked at the ShapesReport. In PDF all the rectangles and ellipses look good but in the HTML they are all missing.

Can you do graphic elements in HTML?

I realize there is only so much you can do in HTML but you could do rectangles with borders right?

We need to be able to do this.

Using JR 0.4.5.

 

 

 

 

By: Teodor Danciu - teodord

RE: Why won't my rectangle show?

2003-03-16 02:09

 

Hi,

 

The lines, rectangles and ellipses are ignored

by the built-in HTML exporter. It does not know

how to handle them.

 

Some users put thin empty static text elements

to draw lines and rectangles.

 

I hope this helps.

Teodor

 

 

 

 

 

By: Erich Kilmer - ekilmer

RE: Why won't my rectangle show?

2003-03-17 05:49

Thanks for the response.

Can you put text inside a "rectangle" built from a "thin empty static text element"?

Anyone have a XML snippet of this I can try?

 

 

 

 

By: Teodor Danciu - teodord

RE: Why won't my rectangle show?

2003-03-25 13:54

 

Hi,

 

I'm thinking about supplying a sample that would

demonstrate how to create tables.

Hopefully it will be available with the new version.

 

Thank you,

Teodor

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...