You are here

YaxisTitle.php in Charts 8.3

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

File

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

namespace Drupal\charts_highcharts\Settings\Highcharts;


/**
 * Y Axis Title.
 */
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;
  }

}

Classes

Namesort descending Description
YaxisTitle Y Axis Title.