for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace CMEN\GoogleChartsBundle\GoogleCharts\Options\Histogram;
/**
* @author Christophe Meneses
*/
class Histogram
{
* Hardcode the size of each histogram bar, rather than letting it be determined algorithmically.
*
* @var int
protected $bucketSize;
* Omit the thin divisions between the blocks of the histogram, making it into a series of solid bars.
* @var bool
protected $hideBucketItems;
* When calculating the histogram's bucket size, ignore the top and bottom lastBucketPercentile percent.
protected $lastBucketPercentile;
* @return $this
public function setBucketSize(int $bucketSize)
$this->bucketSize = $bucketSize;
return $this;
}
public function setHideBucketItems(bool $hideBucketItems)
$this->hideBucketItems = $hideBucketItems;
public function setLastBucketPercentile(int $lastBucketPercentile)
$this->lastBucketPercentile = $lastBucketPercentile;