PhpSpreadsheet/tests/PhpSpreadsheetTests/Chart
oleibman 5608e05eda
Add Support to Chart/Axis for Glow/SoftEdges (#2865)
* Add Support to Chart/Axis for Glow/SoftEdges

Chart is very under-covered in unit tests. I was hoping to just add some tests and be done with it, but that just won't suffice - many code changes are required. Adding Glow properties for Axis turned out to be a real mixed bag - no support in Xlsx/Reader at all, support in Xlsx/Writer ... for the X-axis only. So we'll just inch forward in many stages.

This change does not address other Axis properties (Fill, Shadow, Line, LineStyle, and maybe others, and their sub-properties). On my to-do list.

GridLines, and maybe other Chart objects, also should support these properties. This change does not address those. On my to-do list.

No support is added for spreadsheet formats other than Xlsx.

* Refactoring

This should make the code easier to follow, and I hope it will also be extensible to other object types (e.g. GridLines).

* More Refactoring

Make scheme/srgb easier to handle.

* Fix Typo

In a very rarely used function.
2022-06-03 16:47:03 -07:00
..
AxisGlowTest.php Add Support to Chart/Axis for Glow/SoftEdges (#2865) 2022-06-03 16:47:03 -07:00
DataSeriesValuesTest.php Update PHP-CS-Fixer rules 2020-05-18 13:49:57 +09:00
LayoutTest.php Update PHP-CS-Fixer rules 2020-05-18 13:49:57 +09:00
LegendTest.php Reduce PHPStan error in tests 2021-04-12 11:10:23 +09:00
TitleTest.php DocBlock Changes for Chart/Title 2021-07-02 14:33:43 -07:00