You are here

class YaxisLabel in Charts 8

Same name and namespace in other branches
  1. 8.3 modules/charts_highcharts/src/Settings/Highcharts/YaxisLabel.php \Drupal\charts_highcharts\Settings\Highcharts\YaxisLabel

Hierarchy

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

Expanded class hierarchy of YaxisLabel

1 file declares its use of YaxisLabel
charts_highcharts.module in modules/charts_highcharts/charts_highcharts.module
Charts module integration with Highcharts library.

File

modules/charts_highcharts/src/Settings/Highcharts/YaxisLabel.php, line 5

Namespace

Drupal\charts_highcharts\Settings\Highcharts
View source
class YaxisLabel implements \JsonSerializable {
  private $overflow = 'justify';

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

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

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

}

Members