File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -75,6 +75,10 @@ public function render(): static
75
75
$ this ->backgroundColor = $ this ->slide ->chartBackgroundColor ;
76
76
}
77
77
78
+ if ($ this ->slide ->chartAxisColor ) {
79
+ $ this ->axisColor = $ this ->slide ->chartAxisColor ;
80
+ }
81
+
78
82
if (! empty ($ this ->backgroundColor )) {
79
83
$ this ->shape ->getFill ()
80
84
->setFillType (Fill::FILL_SOLID )
Original file line number Diff line number Diff line change @@ -6,10 +6,19 @@ trait WithChartBackground
6
6
{
7
7
public ?string $ chartBackgroundColor = null ;
8
8
9
+ public ?string $ chartAxisColor = null ;
10
+
9
11
public function chartBackgroundColor (?string $ argb ): static
10
12
{
11
13
$ this ->chartBackgroundColor = $ argb ;
12
14
13
15
return $ this ;
14
16
}
17
+
18
+ public function chartAxisColor (?string $ argb ): static
19
+ {
20
+ $ this ->chartAxisColor = $ argb ;
21
+
22
+ return $ this ;
23
+ }
15
24
}
You can’t perform that action at this time.
0 commit comments