You are here

ChartLabel.php in Charts 8.3

File

modules/charts_c3/src/Settings/CThree/ChartLabel.php
View source
<?php

namespace Drupal\charts_c3\Settings\CThree;


/**
 * Chart Label.
 */
class ChartLabel implements \JsonSerializable {
  private $rotation;

  /**
   * Get Rotation.
   *
   * @return mixed
   *   Rotation.
   */
  public function getRotation() {
    return $this->rotation;
  }

  /**
   * Set Rotation.
   *
   * @param mixed $rotation
   *   Rotation.
   */
  public function setRotation($rotation) {
    $this->rotation = $rotation;
  }

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

}

Classes

Namesort descending Description
ChartLabel Chart Label.