no filled line graph with white color
Status: Beta
Brought to you by:
ayashisunyday
If the color palette is set to clear white (255,255,255), drawFilledLineGraph() will create a 100% transparent graph. Only the graph outline is visible.
Insert this code snippet into our code to reproduce the bug:
$Test->setColorPalette(1,255,255,255);
$Test->drawFilledLineGraph($DataSet->GetData(),$DataSet->GetDataDescription(), 50);
Setting the color to light gray like this works fine:
$Test->setColorPalette(1,254,254,254);
Logged In: YES
user_id=2084985
Originator: NO
This is probably due to the PNG transparency color set to (255,255,255). I'm not sure it is still neeeded :
$C_White = imagecolorallocate($this->Picture,255,255,255);
imagecolortransparent($this->Picture,$C_White);
I'll check.
JD.