I am trying to set a different font size (and eventually change also the color) of X and Y axis labels in a chart.
My code is like:
$oShape = $currentSlide->createChartShape(); // ..etc. and chart looks good
$oShape->getPlotArea()->getAxisX()->getFont()->setSize(7); // it does nothing
setSize() doesn't set the new value and font size remains the same. No errors or warnings.
I am trying to set a different font size (and eventually change also the color) of X and Y axis labels in a chart.
My code is like:
setSize() doesn't set the new value and font size remains the same. No errors or warnings.