I have used jpgraph for many projects, but now, with 3d pie plots I seem to be getting many weird problems. For example, 550.8 is huge, but 1,610.25 is just a sliver? and Many of the labels are jumbled on top of each other, as well as some pieces being labeled properly with a $ and other aren't.
here is my code:
$graph = new PieGraph (792,612);
$p1 = new PiePlot3d($var2);
$p1->SetLegends(array_reverse($var1));
$p1->SetSize(0.33);
$p1->SetCenter(0.38);
$p1->ExplodeAll(15);
$p1->SetLabelType(PIE_VALUE_ABS);
$p1->value->SetFormat('$%01.2f');
$p1->SetAngle(60);
$p1->SetHeight(25);
$p1->SetLabelPos(1);
$p1->SetSliceColors($this->colors);
$graph->SetFrame(false);
$graph->legend->SetFillColor(array(242, 210,164));
$graph->SetAntiAliasing();
$graph->Add($p1);
$this->im = $graph->Stroke(_IMG_HANDLER);
Everything looks to be in order. I have attached an image that shows what I mean.
Any help appreciated!