PhpSpreadsheet/tests/PhpSpreadsheetTests/Chart
oleibman 5d5e550342
Additional Support for Chart DataSeriesValues (#2906)
* Additional Support for Chart DataSeriesValues

Fix #2863. DataSeriesValues now extends Properties, allowing it to share code in common with Axis and Gridlines. This causes some minor breakages; in particular line width is now initialized to null instead of Excel's default value, and is specified in points, as the user would expect from Excel, rather than the value stored in Xml.

This change:
- adds support for 1 or 2 marker colors.
- adds support for `smoothLine` to DataSeriesValues.
- will determine `catAx` or `valAx` for Axis based on what is read from the Xml when available, rather than guessing based on format. (Another minor break.)
- reads `formatCode` and `sourceLinked` for Axis.
- correct 2 uses of `$plotSeriesRef` to `$plotSeriesIndex` in Writer/Xlsx/Chart.
- pushes coverage over 90% for Chart (88.70% overall).

* Update Change Log

I had updated previously but forgot to stage the member.

* Adopt Some Suggestions

Incorporate some changes suggested by @bridgeplayr.

* Use ChartColor for DSV Fill And Font Text

DataSeriesValues Fill could be a scalar or an array, so I saved it till last.

* Some Final Cleanup

No code changes.

Illustrate even more of the new features in existing sample files.

Deprecate *_ARGB in Properties/ChartColors in favor of *_RGB, because it uses only 6 hex digits. The alpha value is stored separately.
2022-06-29 17:52:09 -07:00
..
AxisGlowTest.php Additional Support for Chart DataSeriesValues (#2906) 2022-06-29 17:52:09 -07:00
AxisPropertiesTest.php Complete Support for Chart/Axis and Gridlines (#2881) 2022-06-15 19:00:33 -07:00
AxisShadowTest.php Add Support to Chart/Axis and Gridlines for Shadow (#2872) 2022-06-09 18:08:56 -07:00
BarChartCustomColorsTest.php Additional Support for Chart DataSeriesValues (#2906) 2022-06-29 17:52:09 -07:00
Charts32CatAxValAxTest.php Add Support to Chart/Axis and Gridlines for Shadow (#2872) 2022-06-09 18:08:56 -07:00
Charts32ColoredAxisLabelTest.php Additional Support for Chart DataSeriesValues (#2906) 2022-06-29 17:52:09 -07:00
Charts32ScatterTest.php Additional Support for Chart DataSeriesValues (#2906) 2022-06-29 17:52:09 -07:00
Charts32XmlTest.php Additional Support for Chart DataSeriesValues (#2906) 2022-06-29 17:52:09 -07:00
ChartsOpenpyxlTest.php Add Support to Chart/Axis and Gridlines for Shadow (#2872) 2022-06-09 18:08:56 -07:00
ChartsTitleTest.php Add Support to Chart/Axis and Gridlines for Shadow (#2872) 2022-06-09 18:08:56 -07:00
ColorTest.php Additional Support for Chart DataSeriesValues (#2906) 2022-06-29 17:52:09 -07:00
DataSeriesValues2Test.php Additional Support for Chart DataSeriesValues (#2906) 2022-06-29 17:52:09 -07:00
DataSeriesValuesTest.php Additional Support for Chart DataSeriesValues (#2906) 2022-06-29 17:52:09 -07:00
GridlinesLineStyleTest.php Complete Support for Chart/Axis and Gridlines (#2881) 2022-06-15 19:00:33 -07:00
GridlinesShadowGlowTest.php Add Support to Chart/Axis and Gridlines for Shadow (#2872) 2022-06-09 18:08:56 -07:00
Issue589Test.php Additional Support for Chart DataSeriesValues (#2906) 2022-06-29 17:52:09 -07: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
MultiplierTest.php Add Support to Chart/Axis and Gridlines for Shadow (#2872) 2022-06-09 18:08:56 -07:00
PieFillTest.php Expand Chart Support for schemeClr and prstClr (#2879) 2022-06-14 08:45:12 -07:00
ShadowPresetsTest.php Additional Support for Chart DataSeriesValues (#2906) 2022-06-29 17:52:09 -07:00
TitleTest.php DocBlock Changes for Chart/Title 2021-07-02 14:33:43 -07:00