You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Allow variant behaviour when merging cells [Issue #3065](https://github.com/PHPOffice/PhpSpreadsheet/issues/3065)
21
+
- Merge methods now allow an additional `$behaviour` argument. Permitted values are:
22
+
- Worksheet::MERGE_CELL_CONTENT_EMPTY - Empty the content of the hidden cells (the default behaviour)
23
+
- Worksheet::MERGE_CELL_CONTENT_HIDE - Keep the content of the hidden cells
24
+
- Worksheet::MERGE_CELL_CONTENT_MERGE - Move the content of the hidden cells into the first cell
17
25
18
26
### Deprecated
19
27
20
-
- Nothing
28
+
- Axis getLineProperty deprecated in favor of getLineColorProperty.
29
+
- Moved majorGridlines and minorGridlines from Chart to Axis. Setting either in Chart constructor or through Chart methods, or getting either using Chart methods is deprecated.
30
+
- Chart::EXCEL_COLOR_TYPE_* copied from Properties to ChartColor; use in Properties is deprecated.
31
+
- ChartColor::EXCEL_COLOR_TYPE_ARGB deprecated in favor of EXCEL_COLOR_TYPE_RGB ("A" component was never allowed).
32
+
- Misspelled Properties::LINE_STYLE_DASH_SQUERE_DOT deprecated in favor of LINE_STYLE_DASH_SQUARE_DOT.
33
+
- Clone not permitted for Spreadsheet. Spreadsheet->copy() can be used instead.
21
34
22
35
### Removed
23
36
24
37
- Nothing
25
38
26
39
### Fixed
27
40
28
-
- Nothing
41
+
- Fix DataValidation sqRef when inserting/deleting rows/columns [Issue #3056](https://github.com/PHPOffice/PhpSpreadsheet/issues/3056)[PR #3074](https://github.com/PHPOffice/PhpSpreadsheet/pull/3074)
42
+
- Named ranges not usable as anchors in OFFSET function [Issue #3013](https://github.com/PHPOffice/PhpSpreadsheet/issues/3013)
43
+
- Fully flatten an array [Issue #2955](https://github.com/PHPOffice/PhpSpreadsheet/issues/2955)[PR #2956](https://github.com/PHPOffice/PhpSpreadsheet/pull/2956)
44
+
- cellExists() and getCell() methods should support UTF-8 named cells [Issue #2987](https://github.com/PHPOffice/PhpSpreadsheet/issues/2987)[PR #2988](https://github.com/PHPOffice/PhpSpreadsheet/pull/2988)
- Fix PDF problems with text rotation and paper size. [Issue #1747](https://github.com/PHPOffice/PhpSpreadsheet/issues/1747)[Issue #1713](https://github.com/PHPOffice/PhpSpreadsheet/issues/1713)[PR #2960](https://github.com/PHPOffice/PhpSpreadsheet/pull/2960)
47
+
- Limited support for chart titles as formulas [Issue #2965](https://github.com/PHPOffice/PhpSpreadsheet/issues/2965)[Issue #749](https://github.com/PHPOffice/PhpSpreadsheet/issues/749)[PR #2971](https://github.com/PHPOffice/PhpSpreadsheet/pull/2971)
48
+
- Add Gradients, Transparency, and Hidden Axes to Chart [Issue #2257](https://github.com/PHPOffice/PhpSpreadsheet/issues/2257)[Issue #2229](https://github.com/PHPOffice/PhpSpreadsheet/issues/2929)[Issue #2935](https://github.com/PHPOffice/PhpSpreadsheet/issues/2935)[PR #2950](https://github.com/PHPOffice/PhpSpreadsheet/pull/2950)
49
+
- Chart Support for Rounded Corners and Trendlines [Issue #2968](https://github.com/PHPOffice/PhpSpreadsheet/issues/2968)[Issue #2815](https://github.com/PHPOffice/PhpSpreadsheet/issues/2815)[PR #2976](https://github.com/PHPOffice/PhpSpreadsheet/pull/2976)
50
+
- Add setName Method for Chart [Issue #2991](https://github.com/PHPOffice/PhpSpreadsheet/issues/2991)[PR #3001](https://github.com/PHPOffice/PhpSpreadsheet/pull/3001)
51
+
- Eliminate partial dependency on php-intl in StringHelper [Issue #2982](https://github.com/PHPOffice/PhpSpreadsheet/issues/2982)[PR #2994](https://github.com/PHPOffice/PhpSpreadsheet/pull/2994)
52
+
- Minor changes for Pdf [Issue #2999](https://github.com/PHPOffice/PhpSpreadsheet/issues/2999)[PR #3002](https://github.com/PHPOffice/PhpSpreadsheet/pull/3002)[PR #3006](https://github.com/PHPOffice/PhpSpreadsheet/pull/3006)
53
+
- Html/Pdf Do net set background color for cells using (default) nofill [PR #3016](https://github.com/PHPOffice/PhpSpreadsheet/pull/3016)
54
+
- Add support for Date Axis to Chart [Issue #2967](https://github.com/PHPOffice/PhpSpreadsheet/issues/2967)[PR #3018](https://github.com/PHPOffice/PhpSpreadsheet/pull/3018)
55
+
- Reconcile Differences Between Css and Excel for Cell Alignment [PR #3048](https://github.com/PHPOffice/PhpSpreadsheet/pull/3048)
56
+
- R1C1 Format Internationalization and Better Support for Relative Offsets [Issue #1704](https://github.com/PHPOffice/PhpSpreadsheet/issues/1704)[PR #3052](https://github.com/PHPOffice/PhpSpreadsheet/pull/3052)
57
+
- Minor Fix for Percentage Formatting [Issue #1929](https://github.com/PHPOffice/PhpSpreadsheet/issues/1929)[PR #3053](https://github.com/PHPOffice/PhpSpreadsheet/pull/3053)
29
58
30
59
## 1.24.1 - 2022-07-18
31
60
32
61
### Added
33
62
63
+
- Support for SimpleCache Interface versions 1.0, 2.0 and 3.0
If you are building your installation on a development machine that is on a different PHP version to the server where it will be deployed, or if your PHP CLI version is not the same as your run-time such as `php-fpm` or Apache's `mod_php`, then you might want to add the following to your `composer.json` before installing:
32
-
```json lines
32
+
```json
33
33
{
34
34
"require": {
35
35
"phpoffice/phpspreadsheet": "^1.23"
@@ -71,15 +71,19 @@ or the appropriate PDF Writer wrapper for the library that you have chosen to in
71
71
72
72
#### Chart Export
73
73
74
-
For Chart export, we support, which you will also need to install yourself
75
-
- jpgraph/jpgraph
74
+
For Chart export, we support following packages, which you will also need to install yourself using `composer require`
75
+
-[jpgraph/jpgraph](https://packagist.org/packages/jpgraph/jpgraph) (this package was abandoned at version 4.0.
76
+
You can manually download the latest version that supports PHP 8 and above from [jpgraph.net](https://jpgraph.net/))
77
+
-[mitoteam/jpgraph](https://packagist.org/packages/mitoteam/jpgraph) (fork with php 8.1 support)
Settings::setChartRenderer(\PhpOffice\PhpSpreadsheet\Chart\Renderer\JpGraph::class); // to use jpgraph/jpgraph
82
+
//or
83
+
Settings::setChartRenderer(\PhpOffice\PhpSpreadsheet\Chart\Renderer\MtJpGraphRenderer::class); // to use mitoteam/jpgraph
80
84
```
81
85
82
-
You can `composer/require`the github version of jpgraph, but this was abandoned at version 4.0; or manually download the latest version that supports PHP 8 and above from [jpgraph.net](https://jpgraph.net/)
86
+
One or the other of these libraries is necessary if you want to generate HTML or PDF files that include charts.
0 commit comments