You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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%');
The text was updated successfully, but these errors were encountered:
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?
The text was updated successfully, but these errors were encountered: