|
@@ 70-72 (lines=3) @@
|
| 67 |
|
{ |
| 68 |
|
$this->checkXequalsY(); |
| 69 |
|
switch ($this->type) { |
| 70 |
|
case 'bar': |
| 71 |
|
$trace = ['x' => $this->x, 'y' => $this->y, 'type' => $this->type, 'name' => $this->name]; |
| 72 |
|
break; |
| 73 |
|
case 'scatter': |
| 74 |
|
$this->checkModeValue(); |
| 75 |
|
$trace = ['x' => $this->x, 'y' => $this->y, 'type' => $this->type, 'name' => $this->name, 'mode' => $this->mode]; |
|
@@ 73-76 (lines=4) @@
|
| 70 |
|
case 'bar': |
| 71 |
|
$trace = ['x' => $this->x, 'y' => $this->y, 'type' => $this->type, 'name' => $this->name]; |
| 72 |
|
break; |
| 73 |
|
case 'scatter': |
| 74 |
|
$this->checkModeValue(); |
| 75 |
|
$trace = ['x' => $this->x, 'y' => $this->y, 'type' => $this->type, 'name' => $this->name, 'mode' => $this->mode]; |
| 76 |
|
break; |
| 77 |
|
case 'pie': |
| 78 |
|
$trace = ['labels' => $this->x, 'values' => $this->y, 'type' => $this->type]; |
| 79 |
|
break; |