pChart 2.x forum
http://wiki.pchart.net/forum/

set background transparent
http://wiki.pchart.net/forum/viewtopic.php?f=1&t=2565
Page 1 of 1

Author:  scmo [ Wed Mar 28, 2012 7:41 pm ]
Post subject:  set background transparent

Hi guys,

I Draw radar charts in my application.

I use 2 datas. i made it with this example: http://wiki.pchart.net/doc.draw.radar.html

now here, i drow my first radar:
Code:
$myPicture->setGraphArea($padding_left,$padding_top,$width-($padding_left+$padding_right),$height-($padding_top+$padding_bottom));
$Options = array("SegmentHeight"=>1, "PointRadius"=>2,"DrawPoly"=>TRUE,"Layout"=>RADAR_LAYOUT_STAR,"LabelPos"=>RADAR_LABELS_HORIZONTAL,"BackgroundGradient"=>array("StartR"=>255,"StartG"=>255,"StartB"=>255,"StartAlpha"=>100,"EndR"=>95,"EndG"=>126,"EndB"=>170,"EndAlpha"=>30));
$SplitChart->drawRadar($myPicture,$MyData,$Options);
   

with "DrawPoly"=>TRUE i set my polygones a background.

now i have to different Datas. In the radar, there 1 with background "DrawPoly"=>TRUE and 1 transparent "DrawPoly"=>FALSE

does anybody know, how i can solve that?

Thank you very much!

thank you

Author:  scmo [ Sun Apr 01, 2012 7:11 pm ]
Post subject:  Re: set background transparent

can nobody help me?

Author:  Sugarman [ Wed May 16, 2012 11:01 am ]
Post subject:  Re: set background transparent

Hey scmo,

I am having the same problem as you. Were you able to find out how to solve this problem. If yes, would you be so kind to share that solution over here.

Thanks a lot.

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/