You are here

class BillboardChart in Charts 8.3

BillboardChart.

Hierarchy

  • class \Drupal\charts_billboard\Settings\Billboard\BillboardChart implements \Drupal\charts_billboard\Settings\Billboard\JsonSerializable

Expanded class hierarchy of BillboardChart

1 file declares its use of BillboardChart
Billboard.php in modules/charts_billboard/src/Plugin/chart/Billboard.php

File

modules/charts_billboard/src/Settings/Billboard/BillboardChart.php, line 8

Namespace

Drupal\charts_billboard\Settings\Billboard
View source
class BillboardChart implements \JsonSerializable {

  /**
   * Color.
   *
   * @var mixed
   */
  private $color;

  /**
   * BindTo.
   *
   * @var string
   */
  private $bindto;

  /**
   * Data.
   *
   * @var mixed
   */
  private $data;

  /**
   * Axis.
   *
   * @var mixed
   */
  private $axis;

  /**
   * Chart title.
   *
   * @var mixed
   */
  private $title;

  /**
   * Gauge.
   *
   * @var mixed
   */
  private $gauge;

  /**
   * Point.
   *
   * @var mixed
   */
  private $point;

  /**
   * Legend.
   *
   * @var mixed
   */
  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;
  }

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

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

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

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

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

  /**
   * Set the legend.
   *
   * @param mixed $legend
   *   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
BillboardChart::$axis private property Axis.
BillboardChart::$bindto private property BindTo.
BillboardChart::$color private property Color.
BillboardChart::$data private property Data.
BillboardChart::$gauge private property Gauge.
BillboardChart::$legend private property Legend.
BillboardChart::$point private property Point.
BillboardChart::$title private property Chart title.
BillboardChart::getAxis public function Get Axis.
BillboardChart::getBindTo public function Get Bind to.
BillboardChart::getColor public function Get Color.
BillboardChart::getData public function Get Data.
BillboardChart::getGauge public function Get the gauge.
BillboardChart::getLegend public function Get the legend.
BillboardChart::getPoint public function Get the point.
BillboardChart::getTitle public function Get Title.
BillboardChart::jsonSerialize public function Json Serialize.
BillboardChart::setAxis public function Set Axis.
BillboardChart::setBindTo public function Set Bind to.
BillboardChart::setColor public function Set Color.
BillboardChart::setData public function Set Data.
BillboardChart::setGauge public function Set the gauge.
BillboardChart::setLegend public function Set the legend.
BillboardChart::setPoint public function Set the point.
BillboardChart::setTitle public function Set Title.