Hi,

On Fri, 2007-08-03 at 11:42 -0700, Sean Tobin wrote:
> I'm trying to render a pie chart without a legend or title, so the pie
> itself takes up 100% of the requested area and I'm having some
> difficulty. What is happening is that I'm getting the chart, but it is
> a fraction of the rendered area. 
> 
> See http://24.234.155.62/documents/pie.png for an example of what is
> happening. 
> 
> I've set:
> $graph->legend = false;
> $graph->title=false;
> $graph->options->label=false;
> 
> and, although they do not show it seems that they are still taking up
> space. Does  anyone have an idea as to what I can do to increase the
> size of the actual pie in relation to the overall image?

The space is reserved for labels of the chart. If you want to force to
use the complete space you may define it in the renderer;

> $renderer->options->pieHorizontalSize = 1;
> $renderer->options->pieVerticalSize = 1;

This should increase the pie charts size to use the full chart. You may
find the complete list of renderer options here:

http://ez.no/doc/components/view/latest/(file)/Graph/ezcGraphRendererOptions.html#prop-$pieHorizontalSize

-- 
Mit freundlichen Grüßen / Med vennlig hilsen
 
Kore Nordmann (GPG: 0xDDC70BBB)
eZ Components Developer
eZ systems Headquaters

tel +49 (0) 231-9742-7750 | fax +49 (0) 231-9742-7751
[EMAIL PROTECTED] | eZ systems | ez.no

Attachment: signature.asc
Description: This is a digitally signed message part

-- 
Components mailing list
[email protected]
http://lists.ez.no/mailman/listinfo/components

Reply via email to