2
2
3
3
namespace Akaunting \Apexcharts \Options ;
4
4
5
- use Akaunting \Apexcharts \Charts ;
5
+ use Akaunting \Apexcharts \Chart as MainChart ;
6
6
7
7
trait Chart
8
8
{
@@ -52,7 +52,7 @@ trait Chart
52
52
53
53
public array $ zoom = [];
54
54
55
- public function setAnimations (array $ animations ): Chart
55
+ public function setAnimations (array $ animations ): MainChart
56
56
{
57
57
$ this ->animations = $ animations ;
58
58
@@ -70,7 +70,7 @@ public function getAnimations(): array
70
70
return $ this ->animations ;
71
71
}
72
72
73
- public function setBackground (string $ background ): Chart
73
+ public function setBackground (string $ background ): MainChart
74
74
{
75
75
$ this ->background = $ background ;
76
76
@@ -88,7 +88,7 @@ public function getBackground(): string
88
88
return $ this ->background ;
89
89
}
90
90
91
- public function setBrush (array $ brush ): Chart
91
+ public function setBrush (array $ brush ): MainChart
92
92
{
93
93
$ this ->brush = $ brush ;
94
94
@@ -106,7 +106,7 @@ public function getBrush(): array
106
106
return $ this ->brush ;
107
107
}
108
108
109
- public function setDefaultLocale (string $ defaultLocale ): Chart
109
+ public function setDefaultLocale (string $ defaultLocale ): MainChart
110
110
{
111
111
$ this ->defaultLocale = $ defaultLocale ;
112
112
@@ -124,7 +124,7 @@ public function getDefaultLocale(): string
124
124
return $ this ->defaultLocale ;
125
125
}
126
126
127
- public function setDropShadow (array $ dropShadow ): Chart
127
+ public function setDropShadow (array $ dropShadow ): MainChart
128
128
{
129
129
$ this ->dropShadow = $ dropShadow ;
130
130
@@ -142,7 +142,7 @@ public function getDropShadow(): array
142
142
return $ this ->dropShadow ;
143
143
}
144
144
145
- public function setFontFamily (string $ fontFamily ): Chart
145
+ public function setFontFamily (string $ fontFamily ): MainChart
146
146
{
147
147
$ this ->fontFamily = $ fontFamily ;
148
148
@@ -160,7 +160,7 @@ public function getFontFamily(): string
160
160
return $ this ->fontFamily ;
161
161
}
162
162
163
- public function setForeColor (string $ foreColor ): Chart
163
+ public function setForeColor (string $ foreColor ): MainChart
164
164
{
165
165
$ this ->foreColor = $ foreColor ;
166
166
@@ -178,7 +178,7 @@ public function getForeColor(): string
178
178
return $ this ->foreColor ;
179
179
}
180
180
181
- public function setGroup (string $ group ): Chart
181
+ public function setGroup (string $ group ): MainChart
182
182
{
183
183
$ this ->group = $ group ;
184
184
@@ -196,7 +196,7 @@ public function getGroup(): string
196
196
return $ this ->group ;
197
197
}
198
198
199
- public function setEvents (array $ events ): Chart
199
+ public function setEvents (array $ events ): MainChart
200
200
{
201
201
$ this ->events = $ events ;
202
202
@@ -214,7 +214,7 @@ public function getEvents(): array
214
214
return $ this ->events ;
215
215
}
216
216
217
- public function setHeight (int |string |null $ height ): Chart
217
+ public function setHeight (int |string |null $ height ): MainChart
218
218
{
219
219
$ this ->height = $ height ;
220
220
@@ -232,7 +232,7 @@ public function getHeight(): int|string|null
232
232
return $ this ->height ;
233
233
}
234
234
235
- public function setLocales (array $ locales ): Chart
235
+ public function setLocales (array $ locales ): MainChart
236
236
{
237
237
$ this ->locales = $ locales ;
238
238
@@ -250,7 +250,7 @@ public function getLocales(): array
250
250
return $ this ->locales ;
251
251
}
252
252
253
- public function setOffsetX (int $ offsetX ): Chart
253
+ public function setOffsetX (int $ offsetX ): MainChart
254
254
{
255
255
$ this ->offsetX = $ offsetX ;
256
256
@@ -268,7 +268,7 @@ public function getOffsetX(): int
268
268
return $ this ->offsetX ;
269
269
}
270
270
271
- public function setOffsetY (int $ offsetY ): Chart
271
+ public function setOffsetY (int $ offsetY ): MainChart
272
272
{
273
273
$ this ->offsetY = $ offsetY ;
274
274
@@ -286,7 +286,7 @@ public function getOffsetY(): int
286
286
return $ this ->offsetY ;
287
287
}
288
288
289
- public function setParentHeightOffset (int $ parentHeightOffset ): Chart
289
+ public function setParentHeightOffset (int $ parentHeightOffset ): MainChart
290
290
{
291
291
$ this ->parentHeightOffset = $ parentHeightOffset ;
292
292
@@ -304,7 +304,7 @@ public function getParentHeightOffset(): int
304
304
return $ this ->parentHeightOffset ;
305
305
}
306
306
307
- public function setRedrawOnParentResize (bool $ redrawOnParentResize ): Chart
307
+ public function setRedrawOnParentResize (bool $ redrawOnParentResize ): MainChart
308
308
{
309
309
$ this ->redrawOnParentResize = $ redrawOnParentResize ;
310
310
@@ -322,7 +322,7 @@ public function getRedrawOnParentResize(): bool
322
322
return $ this ->redrawOnParentResize ;
323
323
}
324
324
325
- public function setRedrawOnWindowResize (bool $ redrawOnWindowResize ): Chart
325
+ public function setRedrawOnWindowResize (bool $ redrawOnWindowResize ): MainChart
326
326
{
327
327
$ this ->redrawOnWindowResize = $ redrawOnWindowResize ;
328
328
@@ -340,7 +340,7 @@ public function getRedrawOnWindowResize(): bool
340
340
return $ this ->redrawOnWindowResize ;
341
341
}
342
342
343
- public function setSelection (array $ selection ): Chart
343
+ public function setSelection (array $ selection ): MainChart
344
344
{
345
345
$ this ->selection = $ selection ;
346
346
@@ -358,7 +358,7 @@ public function getSelection(): array
358
358
return $ this ->selection ;
359
359
}
360
360
361
- public function setSparkline (array $ sparkline ): Chart
361
+ public function setSparkline (array $ sparkline ): MainChart
362
362
{
363
363
$ this ->sparkline = $ sparkline ;
364
364
@@ -376,7 +376,7 @@ public function getSparkline(): array
376
376
return $ this ->sparkline ;
377
377
}
378
378
379
- public function setStacked (bool $ stacked ): Chart
379
+ public function setStacked (bool $ stacked ): MainChart
380
380
{
381
381
$ this ->stacked = $ stacked ;
382
382
@@ -394,7 +394,7 @@ public function getStacked(): bool
394
394
return $ this ->stacked ;
395
395
}
396
396
397
- public function setStackType (string $ stackType ): Chart
397
+ public function setStackType (string $ stackType ): MainChart
398
398
{
399
399
$ this ->stackType = $ stackType ;
400
400
@@ -412,7 +412,7 @@ public function getStackType(): string
412
412
return $ this ->stackType ;
413
413
}
414
414
415
- public function setToolbar (array $ toolbar ): Chart
415
+ public function setToolbar (array $ toolbar ): MainChart
416
416
{
417
417
$ this ->toolbar = $ toolbar ;
418
418
@@ -430,7 +430,7 @@ public function getToolbar(): array
430
430
return $ this ->toolbar ;
431
431
}
432
432
433
- public function setWidth (int |string |null $ width ): Chart
433
+ public function setWidth (int |string |null $ width ): MainChart
434
434
{
435
435
$ this ->width = $ width ;
436
436
@@ -448,7 +448,7 @@ public function getWidth(): int|string|null
448
448
return $ this ->width ;
449
449
}
450
450
451
- public function setZoom (array $ zoom ): Chart
451
+ public function setZoom (array $ zoom ): MainChart
452
452
{
453
453
$ this ->zoom = $ zoom ;
454
454
0 commit comments