PHPPresentation
PHPPresentation copied to clipboard
How to hide empty (value 0%) chartBarClustered ?
With $serieOb->setDlblNumFormat('#%') I have the % which is only displayed when the value is 0. Is there a way to hide it if the value is 0?
$serieOb = new Series($serieName, $serieData);
$serieOb->setShowSeriesName(false);
$serieOb->getFill()->setFillType(Fill::FILL_SOLID)->setStartColor(new Color($colorFill));
$serieOb->getFont()->getColor()->setRGB($colorFont);
$serieOb->setShowValue(true);
$serieOb->setShowPercentage(false);
//$serieOb->setLabelPosition(Series::LABEL_INSIDEEND);
// Set Data Label Format For Chart To Display Percent
$serieOb->setDlblNumFormat('0%');
Please help the same problem
help please we have the same problem
@devlamine @wtahtah @alaglil Have you got a sample PowerPoint2007 file where 0%is hidden ?