You are here

class HighchartsOptions in Charts 8.3

Highcharts.

Hierarchy

  • class \Drupal\charts_highcharts\Settings\Highcharts\HighchartsOptions implements \Drupal\charts_highcharts\Settings\Highcharts\JsonSerializable

Expanded class hierarchy of HighchartsOptions

1 file declares its use of HighchartsOptions
Highcharts.php in modules/charts_highcharts/src/Plugin/chart/Highcharts.php

File

modules/charts_highcharts/src/Settings/Highcharts/HighchartsOptions.php, line 8

Namespace

Drupal\charts_highcharts\Settings\Highcharts
View source
class HighchartsOptions implements \JsonSerializable {
  private $chart;
  private $title;
  private $subtitle;
  private $xAxis;
  private $yAxis;
  private $tooltip;
  private $plotOptions;
  private $legend;
  private $credits;
  private $innerSize = '%20';
  private $series;
  private $exporting;
  private $pane;

  /**
   * Get Chart.
   *
   * @return mixed
   *   Chart.
   */
  public function getChart() {
    return $this->chart;
  }

  /**
   * Set Chart.
   *
   * @param mixed $chart
   *   Chart.
   */
  public function setChart($chart) {
    $this->chart = $chart;
  }

  /**
   * Get Title.
   *
   * @return mixed
   *   Title.
   */
  public function getTitle() {
    return $this->title;
  }

  /**
   * Set Title.
   *
   * @param mixed $title
   *   Title.
   */
  public function setTitle($title) {
    $this->title = $title;
  }

  /**
   * Get X Axis.
   *
   * @return mixed
   *   X Axis.
   */
  public function getAxisX() {
    return $this->xAxis;
  }

  /**
   * Set X Axis.
   *
   * @param mixed $xAxis
   *   X Axis.
   */
  public function setAxisX($xAxis) {
    $this->xAxis = $xAxis;
  }

  /**
   * Get Y Axis.
   *
   * @return array $yAxis
   *   Y Axis.
   */
  public function getAxisY() {
    return $this->yAxis;
  }

  /**
   * Set Y Axis.
   *
   * @param array $yAxis
   *   Y Axis.
   */
  public function setAxisY($yAxis) {
    $this->yAxis = $yAxis;
  }

  /**
   * Get Tooltip.
   *
   * @return mixed
   *   Tooltip.
   */
  public function getTooltip() {
    return $this->tooltip;
  }

  /**
   * Set Tooltip.
   *
   * @param mixed $tooltip
   *   Tooltip.
   */
  public function setTooltip($tooltip) {
    $this->tooltip = $tooltip;
  }

  /**
   * Get Plot Options.
   *
   * @return mixed
   *   Plot Options.
   */
  public function getPlotOptions() {
    return $this->plotOptions;
  }

  /**
   * Set Plot Options.
   *
   * @param mixed $plotOptions
   *   Plot Options.
   */
  public function setPlotOptions($plotOptions) {
    $this->plotOptions = $plotOptions;
  }

  /**
   * Get Legend.
   *
   * @return mixed
   *   Legend.
   */
  public function getLegend() {
    return $this->legend;
  }

  /**
   * Set Legend.
   *
   * @param mixed $legend
   *   Legend.
   */
  public function setLegend($legend) {
    $this->legend = $legend;
  }

  /**
   * Get Credits.
   *
   * @return mixed
   *   Credits.
   */
  public function getCredits() {
    return $this->credits;
  }

  /**
   * Set Credits.
   *
   * @param mixed $credits
   *   Credits.
   */
  public function setCredits($credits) {
    $this->credits = $credits;
  }

  /**
   * Get Inner Size.
   *
   * @return mixed
   *   Inner Size.
   */
  public function getInnerSize() {
    return $this->innerSize;
  }

  /**
   * Set Inner Size.
   *
   * @param mixed $innerSize
   *   Inner Size.
   */
  public function setInnerSize($innerSize) {
    $this->innerSize = $innerSize;
  }

  /**
   * Get Series.
   *
   * @return mixed
   *   Series.
   */
  public function getSeries() {
    return $this->series;
  }

  /**
   * Set Series.
   *
   * @param mixed $series
   *   Series.
   */
  public function setSeries($series) {
    $this->series = $series;
  }

  /**
   * Get exporting options.
   *
   * @return \Drupal\charts_highcharts\Settings\Highcharts\ExportingOptions|null
   *   The exporting options.
   */
  public function getExporting() {
    return $this->exporting;
  }

  /**
   * Set exporting options.
   *
   * @param \Drupal\charts_highcharts\Settings\Highcharts\ExportingOptions|null $exporting
   *   The exporting options.
   */
  public function setExporting($exporting = NULL) {
    $this->exporting = $exporting;
  }

  /**
   * @return mixed
   */
  public function getPane() {
    return $this->pane;
  }

  /**
   * @param mixed $pane
   */
  public function setPane($pane) {
    $this->pane = $pane;
  }

  /**
   * @return mixed
   */
  public function getSubtitle() {
    return $this->subtitle;
  }

  /**
   * @param mixed $subtitle
   */
  public function setSubtitle($subtitle) {
    $this->subtitle = $subtitle;
  }

  /**
   * Json Serialize.
   *
   * @return array
   *   Json Serialize.
   */
  public function jsonSerialize() {
    $vars = get_object_vars($this);
    return $vars;
  }

}

Members

Namesort descending Modifiers Type Description Overrides
HighchartsOptions::$chart private property
HighchartsOptions::$credits private property
HighchartsOptions::$exporting private property
HighchartsOptions::$innerSize private property
HighchartsOptions::$legend private property
HighchartsOptions::$pane private property
HighchartsOptions::$plotOptions private property
HighchartsOptions::$series private property
HighchartsOptions::$subtitle private property
HighchartsOptions::$title private property
HighchartsOptions::$tooltip private property
HighchartsOptions::$xAxis private property
HighchartsOptions::$yAxis private property
HighchartsOptions::getAxisX public function Get X Axis.
HighchartsOptions::getAxisY public function Get Y Axis.
HighchartsOptions::getChart public function Get Chart.
HighchartsOptions::getCredits public function Get Credits.
HighchartsOptions::getExporting public function Get exporting options.
HighchartsOptions::getInnerSize public function Get Inner Size.
HighchartsOptions::getLegend public function Get Legend.
HighchartsOptions::getPane public function
HighchartsOptions::getPlotOptions public function Get Plot Options.
HighchartsOptions::getSeries public function Get Series.
HighchartsOptions::getSubtitle public function
HighchartsOptions::getTitle public function Get Title.
HighchartsOptions::getTooltip public function Get Tooltip.
HighchartsOptions::jsonSerialize public function Json Serialize.
HighchartsOptions::setAxisX public function Set X Axis.
HighchartsOptions::setAxisY public function Set Y Axis.
HighchartsOptions::setChart public function Set Chart.
HighchartsOptions::setCredits public function Set Credits.
HighchartsOptions::setExporting public function Set exporting options.
HighchartsOptions::setInnerSize public function Set Inner Size.
HighchartsOptions::setLegend public function Set Legend.
HighchartsOptions::setPane public function
HighchartsOptions::setPlotOptions public function Set Plot Options.
HighchartsOptions::setSeries public function Set Series.
HighchartsOptions::setSubtitle public function
HighchartsOptions::setTitle public function Set Title.
HighchartsOptions::setTooltip public function Set Tooltip.