for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace CMEN\GoogleChartsBundle\GoogleCharts\Options\OrgChart;
use CMEN\GoogleChartsBundle\GoogleCharts\Options\AllowHtmlTrait;
use CMEN\GoogleChartsBundle\GoogleCharts\Options\ChartOptionsInterface;
/**
* @author Christophe Meneses
*/
class OrgChartOptions implements ChartOptionsInterface
{
use AllowHtmlTrait;
* Determines if double click will collapse a node.
*
* @var bool
protected $allowCollapse;
* A class name to assign to node elements. Apply CSS to this class name to specify colors or styles for the chart
* elements.
* @var string
protected $nodeClass;
* A class name to assign to selected node elements. Apply CSS to this class name to specify colors or styles for
* selected chart elements.
protected $selectedNodeClass;
* 'small', 'medium' or 'large'.
protected $size;
* @return $this
public function setAllowCollapse(bool $allowCollapse)
$this->allowCollapse = $allowCollapse;
return $this;
}
public function setNodeClass(string $nodeClass)
$this->nodeClass = $nodeClass;
public function setSelectedNodeClass(string $selectedNodeClass)
$this->selectedNodeClass = $selectedNodeClass;
public function setSize(string $size)
$this->size = $size;