You are here

class ChartGauge in Charts 8.3

Same name in this branch
  1. 8.3 modules/charts_billboard/src/Settings/Billboard/ChartGauge.php \Drupal\charts_billboard\Settings\Billboard\ChartGauge
  2. 8.3 modules/charts_c3/src/Settings/CThree/ChartGauge.php \Drupal\charts_c3\Settings\CThree\ChartGauge

Gauge settings.

Hierarchy

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

Expanded class hierarchy of ChartGauge

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

File

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

Namespace

Drupal\charts_c3\Settings\CThree
View source
class ChartGauge implements \JsonSerializable {
  private $min;
  private $max;
  private $units;

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

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

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

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

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

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

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

}

Members

Namesort descending Modifiers Type Description Overrides
ChartGauge::$max private property
ChartGauge::$min private property
ChartGauge::$units private property
ChartGauge::getMax public function
ChartGauge::getMin public function
ChartGauge::getUnits public function
ChartGauge::jsonSerialize public function Json Serialize.
ChartGauge::setMax public function
ChartGauge::setMin public function
ChartGauge::setUnits public function