PhpSpreadsheet/tests/PhpSpreadsheetTests/Chart
oleibman b661d31887
Limited Support for Chart Titles as Formulas (#2971)
This is a start in addressing issue #2965 (and earlier issue #749). Chart Titles are usually entered as strings or Rich Text strings, and PhpSpreadsheet supports that. They can also be entered as formulas (typically a pointer to a cell with the title text), and, not only did PhpSpreadsheet not support that, it threw an exception when reading a spreadsheet that did so.

This change does:
- eliminate the exception
- set a static chart title when it can determine it from the Xml

This change does not:
- fully support dynamic titles (e.g. if you change the contents of the source cell, or delete or insert cells or rows or columns)
- permit the user to set the title to a formula
- allow the use of formulas when writing a chart title to a spreadsheet
- provide styling for titles when it has read them as a formula
2022-08-06 17:39:18 -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 Move Gridlines from Chart to Axis (#2923) 2022-07-07 21:48:12 -07:00
ChartMethodTest.php Move Gridlines from Chart to Axis (#2923) 2022-07-07 21:48:12 -07:00
Charts32CatAxValAxTest.php Add Support to Chart/Axis and Gridlines for Shadow (#2872) 2022-06-09 18:08:56 -07:00
Charts32ColoredAxisLabelTest.php Move Gridlines from Chart to Axis (#2923) 2022-07-07 21:48:12 -07:00
Charts32DsvGlowTest.php Move Gridlines from Chart to Axis (#2923) 2022-07-07 21:48:12 -07:00
Charts32DsvLabelsTest.php Move Gridlines from Chart to Axis (#2923) 2022-07-07 21:48:12 -07:00
Charts32ScatterTest.php Charts - Gradients, Transparency, Hidden Axes (#2950) 2022-07-23 08:06:13 -07:00
Charts32XmlTest.php Additional Support for Chart DataSeriesValues (#2906) 2022-06-29 17:52:09 -07:00
ChartsOpenpyxlTest.php Move Gridlines from Chart to Axis (#2923) 2022-07-07 21:48:12 -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 Move Gridlines from Chart to Axis (#2923) 2022-07-07 21:48:12 -07:00
DataSeriesValuesTest.php Additional Support for Chart DataSeriesValues (#2906) 2022-06-29 17:52:09 -07:00
GridlinesLineStyleTest.php Move Gridlines from Chart to Axis (#2923) 2022-07-07 21:48:12 -07:00
GridlinesShadowGlowTest.php Move Gridlines from Chart to Axis (#2923) 2022-07-07 21:48:12 -07:00
Issue589Test.php Additional Support for Chart DataSeriesValues (#2906) 2022-06-29 17:52:09 -07:00
Issue2077Test.php Fix Chart Problems and Memory Leak in Xlsx Writer (#2930) 2022-07-14 08:30:36 -07:00
Issue2506Test.php Xlsx Chart Reader and Writer Mishandle Explosion Value (#2928) 2022-07-14 07:48:53 -07:00
Issue2931Test.php Fixes for Surface Charts (#2933) 2022-07-16 22:30:11 -07:00
Issue2965Test.php Limited Support for Chart Titles as Formulas (#2971) 2022-08-06 17:39:18 -07:00
LayoutTest.php Fix Chart Problems and Memory Leak in Xlsx Writer (#2930) 2022-07-14 08:30:36 -07:00
LegendTest.php Reduce PHPStan error in tests 2021-04-12 11:10:23 +09:00
LineStylesTest.php Move Gridlines from Chart to Axis (#2923) 2022-07-07 21:48:12 -07:00
MultiplierTest.php Add Support to Chart/Axis and Gridlines for Shadow (#2872) 2022-06-09 18:08:56 -07:00
PieFillTest.php Move Gridlines from Chart to Axis (#2923) 2022-07-07 21:48: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