Completed
Push — master ( c0487a...d4e459 )
by
unknown
01:57
created

XAxis   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 1

Importance

Changes 0
Metric Value
wmc 3
lcom 1
cbo 1
dl 0
loc 17
rs 10
c 0
b 0
f 0

3 Methods

Rating   Name   Duplication   Size   Complexity  
A setCategoriesAttribute() 0 4 1
A setLabelsAttribute() 0 4 1
A setTitleAttribute() 0 4 1
1
<?php
2
3
Namespace EnergieProduction\Chart\Highcharts\Options;
4
5
use EnergieProduction\Chart\Highcharts\Highcharts;
6
7
Class XAxis extends Highcharts
8
{
9
	protected function setCategoriesAttribute(array $value = [])
10
	{
11
		$this->options['categories'] = $value;
12
	}
13
14
	protected function setLabelsAttribute(array $value = [])
15
	{
16
		$this->options['labels'] = ['style' => $value];
17
	}
18
19
	protected function setTitleAttribute(array $value = [])
20
	{
21
		$this->options['title'] = $value;
22
	}
23
}
24