You are here

class PlotOptionsStacking in Charts 8.3

Plot Options Series.

Hierarchy

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

Expanded class hierarchy of PlotOptionsStacking

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

File

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

Namespace

Drupal\charts_highcharts\Settings\Highcharts
View source
class PlotOptionsStacking implements \JsonSerializable {
  private $dataLabels;
  private $stacking = 'normal';
  private $marker = '';

  /**
   * Get Data Labels.
   *
   * @return mixed
   *   Data Labels.
   */
  public function getDataLabels() {
    return $this->dataLabels;
  }

  /**
   * Set Data Labels.
   *
   * @param mixed $dataLabels
   *   Data Labels.
   */
  public function setDataLabels($dataLabels) {
    $this->dataLabels = $dataLabels;
  }

  /**
   * Get Stacking.
   *
   * @return mixed
   *   Stacking.
   */
  public function getStacking() {
    return $this->stacking;
  }

  /**
   * Set Stacking.
   *
   * @param mixed $stacking
   *   Stacking.
   */
  public function setStacking($stacking) {
    $this->stacking = $stacking;
  }

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

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

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

}

Members

Namesort descending Modifiers Type Description Overrides
PlotOptionsStacking::$dataLabels private property
PlotOptionsStacking::$marker private property
PlotOptionsStacking::$stacking private property
PlotOptionsStacking::getDataLabels public function Get Data Labels.
PlotOptionsStacking::getMarker public function
PlotOptionsStacking::getStacking public function Get Stacking.
PlotOptionsStacking::jsonSerialize public function Json Serialize.
PlotOptionsStacking::setDataLabels public function Set Data Labels.
PlotOptionsStacking::setMarker public function
PlotOptionsStacking::setStacking public function Set Stacking.