Constant `TYPE_DOUGHTNUTCHART` is now `TYPE_DOUGHNUTCHART`

This commit is contained in:
Adrien Crivelli 2017-12-13 19:54:25 +09:00
parent 08e860b993
commit a204e0c7ec
No known key found for this signature in database
GPG Key ID: B182FD79DC6DE92E
2 changed files with 7 additions and 3 deletions

View File

@ -17,6 +17,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
- Can read very small HTML files - [#194](https://github.com/PHPOffice/PhpSpreadsheet/issues/194) - Can read very small HTML files - [#194](https://github.com/PHPOffice/PhpSpreadsheet/issues/194)
### BREAKING CHANGE
- Constant `TYPE_DOUGHTNUTCHART` is now `TYPE_DOUGHNUTCHART`.
## [1.0.0-beta2] - 2017-11-26 ## [1.0.0-beta2] - 2017-11-26
### Added ### Added

View File

@ -14,8 +14,8 @@ class DataSeries
const TYPE_AREACHART_3D = 'area3DChart'; const TYPE_AREACHART_3D = 'area3DChart';
const TYPE_PIECHART = 'pieChart'; const TYPE_PIECHART = 'pieChart';
const TYPE_PIECHART_3D = 'pie3DChart'; const TYPE_PIECHART_3D = 'pie3DChart';
const TYPE_DOUGHTNUTCHART = 'doughnutChart'; const TYPE_DOUGHNUTCHART = 'doughnutChart';
const TYPE_DONUTCHART = self::TYPE_DOUGHTNUTCHART; // Synonym const TYPE_DONUTCHART = self::TYPE_DOUGHNUTCHART; // Synonym
const TYPE_SCATTERCHART = 'scatterChart'; const TYPE_SCATTERCHART = 'scatterChart';
const TYPE_SURFACECHART = 'surfaceChart'; const TYPE_SURFACECHART = 'surfaceChart';
const TYPE_SURFACECHART_3D = 'surface3DChart'; const TYPE_SURFACECHART_3D = 'surface3DChart';