You are here

class YaxisTitle in Charts 8

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

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
charts_highcharts.module in modules/charts_highcharts/charts_highcharts.module
Charts module integration with Highcharts library.

File

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

Namespace

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

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

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

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

}

Members