You are here

class YaxisTitle in Charts 8.3

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

Y Axis Title.

Hierarchy

  • class \Drupal\charts_highcharts\Settings\Highcharts\ChartTitle implements \Drupal\charts_highcharts\Settings\Highcharts\JsonSerializable
    • class \Drupal\charts_highcharts\Settings\Highcharts\YaxisTitle implements \Drupal\charts_highcharts\Settings\Highcharts\JsonSerializable

Expanded class hierarchy of YaxisTitle

1 file declares its use of YaxisTitle
Highcharts.php in modules/charts_highcharts/src/Plugin/chart/Highcharts.php

File

modules/charts_highcharts/src/Settings/Highcharts/YaxisTitle.php, line 8

Namespace

Drupal\charts_highcharts\Settings\Highcharts
View source
class YaxisTitle extends ChartTitle implements \JsonSerializable {
  private $text;

  /**
   * Get Text.
   *
   * @return string
   *   Text.
   */
  public function getText() {
    return $this->text;
  }

  /**
   * Set Text.
   *
   * @param string $text
   *   Text.
   */
  public function setText($text) {
    $this->text = $text;
  }

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

}

Members

Namesort descending Modifiers Type Description Overrides
ChartTitle::$verticalAlign private property
ChartTitle::$y private property
ChartTitle::getVerticalAlign public function Get Vertical Align.
ChartTitle::getVerticalOffset public function Get VerticalOffset.
ChartTitle::setVerticalAlign public function Set Vertical Align.
ChartTitle::setVerticalOffset public function Set VerticalOffset.
YaxisTitle::$text private property Overrides ChartTitle::$text
YaxisTitle::getText public function Get Text. Overrides ChartTitle::getText
YaxisTitle::jsonSerialize public function Json Serialize. Overrides ChartTitle::jsonSerialize
YaxisTitle::setText public function Set Text. Overrides ChartTitle::setText