Open noeol opened 3 weeks ago
Version affected: 3.0.2
TYPO3 11.5 PHP 8.2 hoogi91/charts 3.0.2 (no hoogi91/spreadsheets)
Description After the latest Bugfix release 3.0.1 -> 3.0.2, pie charts show only one color.
The problem seems to be directly linked to the change in https://github.com/hoogi91/charts/blob/develop/Classes/DataProcessing/Charts/Library/AbstractColoredLibrary.php#L31
- $paletteSize = count($datasets[$key]); + $paletteSize = count($datasets);
How to reproduce Consider the following simple dataset:
I can confirm this issue (Using version 2.0.7)
Version affected: 3.0.2
TYPO3 11.5 PHP 8.2 hoogi91/charts 3.0.2 (no hoogi91/spreadsheets)
Description
After the latest Bugfix release 3.0.1 -> 3.0.2, pie charts show only one color.
The problem seems to be directly linked to the change in https://github.com/hoogi91/charts/blob/develop/Classes/DataProcessing/Charts/Library/AbstractColoredLibrary.php#L31
How to reproduce
Consider the following simple dataset: