You are here

class Pane in Charts 8.3

Pane for gauge charts.

Hierarchy

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

Expanded class hierarchy of Pane

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

File

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

Namespace

Drupal\charts_highcharts\Settings\Highcharts
View source
class Pane implements \JsonSerializable {
  private $startAngle = -150;
  private $endAngle = 150;

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

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

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

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

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

}

Members

Namesort descending Modifiers Type Description Overrides
Pane::$endAngle private property
Pane::$startAngle private property
Pane::getEndAngle public function
Pane::getStartAngle public function
Pane::jsonSerialize public function Json Serialize.
Pane::setEndAngle public function
Pane::setStartAngle public function