On Thu, 2008-10-23 at 10:36 +0100, Joao Ferreira gmail wrote:
> Hello list,
> 
> I'm using "ezcGraphLineChart".
> 
> How do I set some spacing between my Y-axis and the Y-axis labels ?

You can increase the padding of the text blocks, like:

> $chart->yAxis->font->padding = 1; // Or more

> In some situations the labels are over the axis and I'dd like to avoid
> that.

Which axisLabelRenderer are you using? If I remember correctly the
rotated-label-renderer ignores the padding currently.

If you are using the SVG driver it might help to set a SVG font for
better text size estimation:

http://ezcomponents.org/docs/tutorials/Graph#glyph-support

Which means, you need to convert a font into a SVG font, and just use it
as the font in graph, like:

> $chart->font = '/path/to/font.svg';

Kind regards,
Kore

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

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