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

DrawPoly Problem - Plz Hep
http://wiki.pchart.net/forum/viewtopic.php?f=3&t=4431
Page 1 of 1

Author:  scmo [ Fri Apr 13, 2012 9:21 pm ]
Post subject:  DrawPoly Problem - Plz Hep

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 wanna have two different Datas. In the radar, 1 with background "DrawPoly"=>TRUE and 1 transparent "DrawPoly"=>FALSE

does anybody know, how i can solve that?

Thank you very much!

thank you

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