for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace CMEN\GoogleChartsBundle\GoogleCharts\Options;
/**
* @author Christophe Meneses
*/
class Crosshair
{
use ColorTrait;
* @var Focused
protected $focused;
use OpacityTrait;
use OrientationTrait;
* @var Selected
protected $selected;
* Value can be :
* 'both' : display on both focus and selection
* 'focus' : display on focus only
* 'selection' : display on selection only.
*
* @var string
protected $trigger;
* Crosshair constructor.
public function __construct()
$this->focused = new Focused();
$this->selected = new Selected();
}
* @return Focused
public function getFocused()
return $this->focused;
* @return Selected
public function getSelected()
return $this->selected;
* @param string $trigger
* @return $this
public function setTrigger($trigger)
$this->trigger = $trigger;
return $this;