Replies: 1   Views: 239
Suggestions for scatterchart. one for bug correction and one for improvement
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by jari.heinonen  · 04-05-2019 - 06:24


I think this is more like bug since scatterChart does not output correct legends. Only the legend for X-axis is printed but always as 'X values'. See line 81 in CreateScatterChart.php 

Furthermore I would appreciate if both X and Y values could be shown in chart for all XY-points.

Best regards




Posted by admin  · 05-05-2019 - 11:55

Edited by admin · 07-05-2019 - 12:19


We move both requests to the dev team to be included in the next release of phpdocx.

Update from the dev team:

If you set showValue and showCategory as truw, both X and Y values will appear in the chart:

'showValue' => true,
'showCategory' => true,