Issue
I can't find anything in the documentation that provides for having no data labels on chart points.
The data labels provided are very nice with small numbers of data points, but with larger numbers of data points charts become too busy, and eventually illegible. Does anyone know of a way, w/o hacking the code, to achieve no data labels on PHPWord charts? Thanks
Solution
Thank you me for finding the answer and the answer is find the file Chart.php and change
showVal and showCatName to false
*/
private $dataLabelOptions = array(
'showVal' => false, // value
'showCatName' => false, // category name
'showLegendKey' => false, //show the cart legend
'showSerName' => false, // series name
'showPercent' => false,
'showLeaderLines' => false,
'showBubbleSize' => false,
);
Answered By - ERi Musa Answer Checked By - David Goodson (PHPFixing Volunteer)
0 Comments:
Post a Comment
Note: Only a member of this blog may post a comment.