mirror of
https://github.com/PHPOffice/PhpSpreadsheet.git
synced 2026-09-04 22:50:27 +00:00
getDataLabel() defends against empty labels
This commit is contained in:
@@ -287,6 +287,7 @@ abstract class JpGraphRendererBase implements IRenderer
|
||||
if (!$plotLabel) {
|
||||
return '';
|
||||
}
|
||||
|
||||
return $plotLabel->getDataValue();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user