You are here

class PlotOptionsSeries in Charts 8.3

Plot Options Series.

Hierarchy

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

Expanded class hierarchy of PlotOptionsSeries

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

File

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

Namespace

Drupal\charts_highcharts\Settings\Highcharts
View source
class PlotOptionsSeries implements \JsonSerializable {
  private $dataLabels;
  private $depth = 35;
  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;
  }

  /**
   * @return int
   */
  public function getDepth() {
    return $this->depth;
  }

  /**
   * @param int $depth
   */
  public function setDepth($depth) {
    $this->depth = $depth;
  }

  /**
   * @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
PlotOptionsSeries::$dataLabels private property
PlotOptionsSeries::$depth private property
PlotOptionsSeries::$marker private property
PlotOptionsSeries::getDataLabels public function Get Data Labels.
PlotOptionsSeries::getDepth public function
PlotOptionsSeries::getMarker public function
PlotOptionsSeries::jsonSerialize public function Json Serialize.
PlotOptionsSeries::setDataLabels public function Set Data Labels.
PlotOptionsSeries::setDepth public function
PlotOptionsSeries::setMarker public function