-
andileco authored
Enable donut option for Highcharts and Google Charts (there's still work that needs to be done to these for multiple Chart attachments). Also adds a message to the Charts API Example module if the Charts default settings have not been configured.
andileco authoredEnable donut option for Highcharts and Google Charts (there's still work that needs to be done to these for multiple Chart attachments). Also adds a message to the Charts API Example module if the Charts default settings have not been configured.
PlotOptions.php 483 B
<?php
namespace Drupal\charts_highcharts\Settings\Highcharts;
class PlotOptions implements \JsonSerializable {
private $plotType;
/**
* @return mixed
*/
public function getPlotType() {
return $this->plotType;
}
/**
* @param mixed $plotType
*/
public function setPlotType($plotType) {
$this->plotType = $plotType;
}
/**
* @return array
*/
public function jsonSerialize() {
$vars = get_object_vars($this);
return $vars;
}
}