You are here

YaxisLabel.php in Charts 8.3

Same filename and directory in other branches
  1. 8 modules/charts_highcharts/src/Settings/Highcharts/YaxisLabel.php

File

modules/charts_highcharts/src/Settings/Highcharts/YaxisLabel.php
View source
<?php

namespace Drupal\charts_highcharts\Settings\Highcharts;


/**
 * Y Axis Label.
 */
class YaxisLabel implements \JsonSerializable {
  private $overflow = 'justify';
  private $suffix = '';
  private $prefix = '';

  /**
   * Set Overflow.
   *
   * @param mixed $overflow
   *   Overflow.
   */
  public function setOverflow($overflow) {
    $this->overflow = $overflow;
  }

  /**
   * Get Overflow.
   *
   * @return string
   *   Overflow.
   */
  public function getOverflow() {
    return $this->overflow;
  }

  /**
   * @return string
   */
  public function getYaxisLabelSuffix() {
    return $this->suffix;
  }

  /**
   * @param string $suffix;
   */
  public function setYaxisLabelSuffix($suffix) {
    $this->suffix = $suffix;
  }

  /**
   * @return string
   */
  public function getYaxisLabelPrefix() {
    return $this->prefix;
  }

  /**
   * @param string $prefix
   */
  public function setYaxisLabelPrefix($prefix) {
    $this->prefix = $prefix;
  }

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

}

Classes

Namesort descending Description
YaxisLabel Y Axis Label.