composer update

This commit is contained in:
2019-06-23 10:14:30 +00:00
parent a56db5ea2b
commit ec4506ebf4
790 changed files with 35767 additions and 7663 deletions
@@ -0,0 +1,56 @@
<?php
namespace ConsoleTVs\Charts\Classes\Highcharts;
use ConsoleTVs\Charts\Classes\BaseChart;
use ConsoleTVs\Charts\Features\Highcharts\Chart as ChartFeatures;
class Chart extends BaseChart
{
use ChartFeatures;
/**
* Chartjs dataset class.
*
* @var object
*/
public $dataset = Dataset::class;
/**
* Initiates the Highcharts Line Chart.
*
* @return self
*/
public function __construct()
{
parent::__construct();
$this->container = 'charts::highcharts.container';
$this->script = 'charts::highcharts.script';
return $this->options([
'credits' => [
'enabled' => false,
],
'title' => [
'text' => null,
],
]);
}
/**
* Format the options for highcharts.
*
* @return string
*/
public function formatOptions(bool $strict = false, bool $noBraces = false)
{
$this->options([
'xAxis' => [
'categories' => json_decode($this->formatLabels()),
],
]);
return parent::formatOptions($strict, $noBraces);
}
}