On Sat, 2008-11-08 at 10:57 +0000, Joao Ferreira gmail wrote: > On Fri, 2008-11-07 at 23:03 +0100, Julien Cochennec wrote: > > Hi every body, very simple problem here, I'm trying to get a transparent > > SVG background, which is easy to make with a real SVG file, you just > > have to erase the background color definition. > > Of course I've tried : > > > > $graph->background->background = ''; > > > > Try this: > > $graph->background->color = 'FFFFFF';
All color values are RGBA values (red, green, blue, alpha), so the last value defines the transparency of the color. Just use: > $graph->background->color = '#ffffffff'; Some clients do not yet support transparent backgrounds in SVG, latest Webkit, Gecko and Opera should be fine, though. 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
signature.asc
Description: This is a digitally signed message part
-- Components mailing list Components@lists.ez.no http://lists.ez.no/mailman/listinfo/components