addTitle("Solde intermédiaire de gestion", "timesbi.ttf", 15); $c->setPieSize($x, $y, $radius); $c->setLabelLayout(SideLayout); $t = $c->setLabelStyle(); $t->setBackground(SameAsMainColor, Transparent, glassEffect()); $t->setRoundedCorners(5); # Set the border color of the sector the same color as the fill color. Set the line # color of the join line to black (0x0) $c->setLineColor(SameAsMainColor, 0x000000); $c->setStartAngle(135); $c->setLabelFormat("<*block,valign=absmiddle*>{label} <*font=timesbi.ttf,size=0*>({percent|0}%)"); $c->setData($data, $labels); $c->set3D(20); $chart1URL = $c->makeSession("chart1"); $imageMap = $c->getHTMLImageMap("", "", "name='{label}' title='{label}
{value|0} K.Euros' class='detailsgraphique'"); $c->makeChart('../cache/pages/imgcache/'.$file); echo ''.$imageMap.''; echo ''.$imageMap.''; } }