Test Failed
Push — master ( e6b57e...dd7c2d )
by Christophe
07:44
created

AdvancedChartOptions::setSeries()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 3
CRAP Score 1

Importance

Changes 0
Metric Value
dl 0
loc 6
ccs 3
cts 3
cp 1
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 3
nc 1
nop 1
crap 1
1
<?php
2
3
namespace CMEN\GoogleChartsBundle\GoogleCharts\Options;
4
5
/**
6
 * @author Christophe Meneses
7
 */
8
class AdvancedChartOptions extends MediumChartOptions
9
{
10
    use AxisTitlesPositionTrait;
11
12
    use SeriesTrait;
13
14
    use ThemeTrait;
15
16
    use TitlePositionTrait;
17
18
    /**
19
     * @var VAxis
20
     */
21
    protected $vAxis;
22
23
    /**
24
     * AdvancedChartOptions constructor.
25
     */
26
    public function __construct()
27
    {
28
        parent::__construct();
29
30
        $this->vAxis = new VAxis();
31
    }
32
33
    /**
34
     * @return VAxis
35
     */
36
    public function getVAxis()
37
    {
38
        return $this->vAxis;
39
    }
40
}
41