Added helper methods
This commit is contained in:
@@ -65,9 +65,16 @@ class ColumnChartModel extends BaseChartModel
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function setHorizontal($value)
|
||||
public function setHorizontal()
|
||||
{
|
||||
$this->horizontal = $value;
|
||||
$this->horizontal = true;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function setVertical()
|
||||
{
|
||||
$this->horizontal = false;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user