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

Chart configuration
http://wiki.pchart.net/forum/viewtopic.php?f=3&t=2313
Page 1 of 1

Author:  patul [ Thu Jan 05, 2012 10:46 am ]
Post subject:  Re: Chart configuration

- Change values to white instead of black
Code:
$myPicture->drawLineChart(array("DisplayValues"=>TRUE,"DisplayColor"=>DISPLAY_MANUAL, "DisplayR"=>255,"DisplayG"=>255,"DisplayB"=>255));


- Rotate the months to 90 degrees ( I played with the "LabelRotation" parameter but couldn't make it work at all)
Code:
$myPicture->drawScale(array("DrawSubTicks"=>TRUE,"LabelRotation"=>90));


- Change the line color and make it thicker

Quote:
$serieSettings = array("R"=>255,"G"=>0,"B"=>0,"Alpha"=>80);
$MyData->setPalette("Serie 1",$serieSettings);
$MyData->setSerieWeight("Serie 1",2);

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