Chart sizing [message #123219] |
Thu, 02 February 2006 13:41  |
Eclipse User |
|
|
|
I have a report with a chart inside a grid. I set the chart width and
height (general properties tab) to 100%. The chart shows up very small (<
1/4") on the design view and the resulting report.
Why doesn't this work? What is the meaning of "%" as a dimension choice?
When I set it to 2.5"x2.5" it worked fine.
|
|
|
Re: Chart sizing [message #123377 is a reply to message #123219] |
Thu, 02 February 2006 15:47  |
Eclipse User |
|
|
|
Hi Mark,
There seems to be some bugs in the report designer with the % choice. It
also happens for other report items.
In any case the chart will take all the space available in the grid, so if
the grid cell is small it won't take more that what is available. Now I see
a bug is that if you set the grid height to 100%, it doesn't resize the grid
to take the whole space.
If you expand your grid height with the mouse (with some fixed height), and
then set 100% on the chart height, it will occupy the whole space available
in the cell. If you resize the grid after that, the chart doesn't expand
(another bug), but you can force it by modifying its property.
In any case, I strongly advise not to use percentage width/height with chart
or images, as in a browser, it can depend on the browser window size and it
will stretch or shrink the images and you will loose some quality.
Thanks,
David
"Mark Lorenz" <lorenzm@labcorp.com> wrote in message
news:1f0e969f012476e3019d9b602016c29b$1@www.eclipse.org...
>I have a report with a chart inside a grid. I set the chart width and
>height (general properties tab) to 100%. The chart shows up very small (<
>1/4") on the design view and the resulting report.
>
> Why doesn't this work? What is the meaning of "%" as a dimension choice?
>
> When I set it to 2.5"x2.5" it worked fine.
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.29983 seconds