Skip to content

Commit 4f2e36d

Browse files
Allow transparent background color
1 parent 639da4c commit 4f2e36d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Components/ChartShape.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public function render(): static
7979
$this->axisColor = $this->slide->chartAxisColor;
8080
}
8181

82-
if (! empty($this->backgroundColor)) {
82+
if (! empty($this->backgroundColor) && $this->backgroundColor !== 'transparent') {
8383
$this->shape->getFill()
8484
->setFillType(Fill::FILL_SOLID)
8585
->setStartColor(new Color($this->backgroundColor));

0 commit comments

Comments
 (0)