|
@@ 76-78 (lines=3) @@
|
| 73 |
|
{ |
| 74 |
|
$this->checkXequalsY(); |
| 75 |
|
switch ($this->type) { |
| 76 |
|
case 'bar': |
| 77 |
|
$trace = ['x' => $this->x, 'y' => $this->y, 'type' => $this->type, 'name' => $this->name, 'marker' => $this->marker]; |
| 78 |
|
break; |
| 79 |
|
case 'scatter': |
| 80 |
|
$this->checkModeValue(); |
| 81 |
|
$trace = ['x' => $this->x, 'y' => $this->y, 'type' => $this->type, 'name' => $this->name, 'mode' => $this->mode]; |
|
@@ 79-82 (lines=4) @@
|
| 76 |
|
case 'bar': |
| 77 |
|
$trace = ['x' => $this->x, 'y' => $this->y, 'type' => $this->type, 'name' => $this->name, 'marker' => $this->marker]; |
| 78 |
|
break; |
| 79 |
|
case 'scatter': |
| 80 |
|
$this->checkModeValue(); |
| 81 |
|
$trace = ['x' => $this->x, 'y' => $this->y, 'type' => $this->type, 'name' => $this->name, 'mode' => $this->mode]; |
| 82 |
|
break; |
| 83 |
|
case 'pie': |
| 84 |
|
$trace = ['labels' => $this->x, 'values' => $this->y, 'type' => $this->type]; |
| 85 |
|
break; |