You are here

class CThree in Charts 8.3

Same name and namespace in other branches
  1. 8 modules/charts_c3/src/Settings/CThree/CThree.php \Drupal\charts_c3\Settings\CThree\CThree

CThree.

Hierarchy

  • class \Drupal\charts_c3\Settings\CThree\CThree implements \Drupal\charts_c3\Settings\CThree\JsonSerializable

Expanded class hierarchy of CThree

1 file declares its use of CThree
C3.php in modules/charts_c3/src/Plugin/chart/C3.php

File

modules/charts_c3/src/Settings/CThree/CThree.php, line 8

Namespace

Drupal\charts_c3\Settings\CThree
View source
class CThree implements \JsonSerializable {
  private $color;
  private $bindto;
  private $data;
  private $axis;
  private $title;
  private $gauge;
  private $point;
  private $legend;

  /**
   * 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 Axis.
   *
   * @return mixed
   *   Axis.
   */
  public function getAxis() {
    return $this->axis;
  }

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

  /**
   * Get Data.
   *
   * @return mixed
   *   Data.
   */
  public function getData() {
    return $this->data;
  }

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

  /**
   * Get Bind to.
   *
   * @return string
   *   Bind to.
   */
  public function getBindTo() {
    return $this->bindto;
  }

  /**
   * Set Bind to.
   *
   * @param mixed $bindto
   *   Bind to.
   */
  public function setBindTo($bindto) {
    $this->bindto = $bindto;
  }

  /**
   * Get Color.
   *
   * @return mixed
   *   Color.
   */
  public function getColor() {
    return $this->color;
  }

  /**
   * Set Color.
   *
   * @param mixed $color
   *   Color.
   */
  public function setColor($color) {
    $this->color = $color;
  }

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

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

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

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

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

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

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

}

Members

Namesort descending Modifiers Type Description Overrides
CThree::$axis private property
CThree::$bindto private property
CThree::$color private property
CThree::$data private property
CThree::$gauge private property
CThree::$legend private property
CThree::$point private property
CThree::$title private property
CThree::getAxis public function Get Axis.
CThree::getBindTo public function Get Bind to.
CThree::getColor public function Get Color.
CThree::getData public function Get Data.
CThree::getGauge public function
CThree::getLegend public function
CThree::getPoint public function
CThree::getTitle public function Get Title.
CThree::jsonSerialize public function Json Serialize.
CThree::setAxis public function Set Axis.
CThree::setBindTo public function Set Bind to.
CThree::setColor public function Set Color.
CThree::setData public function Set Data.
CThree::setGauge public function
CThree::setLegend public function
CThree::setPoint public function
CThree::setTitle public function Set Title.